mirror of https://github.com/01-edu/public.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
760 B
14 lines
760 B
[ |
|
{ |
|
"description": "You must retrieve '1/2 MM $' from the vault using the secret", |
|
"code": "let secret = '53CR37-k0D3'\nconst vault = { '53CR37-k0D3': '1/2 MM $' }\n\n// Your code\n\nequal(loot, '1/2 MM $')" |
|
}, |
|
{ |
|
"description": "You must retrieve 500000 from the vault using the secret", |
|
"code": "let secret = '53(.-3T /<o|)3'\nconst vault = { '53(.-3T /<o|)3': 500000 }\n\n// Your code\n\nequal(loot, 500000)" |
|
}, |
|
{ |
|
"description": "You must change the value of the vault secret", |
|
"code": "let secret = '53CR37-k0D3'\nconst vault = { '53CR37-k0D3': '1/2 MM $' }\n\n// Your code\n\nequal(typeof vault['53CR37-k0D3'], 'string')\n\nif (vault['53CR37-k0D3'] === '1/2 MM $') {\n throw Error('vault value was not changed')\n}" |
|
} |
|
] |