mirror of https://github.com/01-edu/public.git
14 lines
760 B
JSON
14 lines
760 B
JSON
[
|
|
{
|
|
"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}"
|
|
}
|
|
] |