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.
18 lines
744 B
18 lines
744 B
4 years ago
|
[
|
||
|
{
|
||
|
"description": "powerlevel is defined and is a constant number",
|
||
|
"code": "let name = 'Patrick'\n\n// Your code\n\nequal(typeof powerlevel, 'number')"
|
||
|
},
|
||
|
{
|
||
|
"description": "powerlevel is a constant variable and can not be changed",
|
||
|
"code": "let name = 'Patrick'\n\n// Your code\ntry {\n var previousValue = powerlevel\n powerlevel = Math.random()\n} catch (err) {}\n\nequal(powerlevel, previousValue)"
|
||
|
},
|
||
|
{
|
||
|
"description": "Vegeta can not have more than 9000 powerlevel",
|
||
|
"code": "let name = 'Vegeta'\n\n// Your code\n\nequal(powerlevel <= 9000, true)"
|
||
|
},
|
||
|
{
|
||
|
"description": "Goku have more than 9000 powerlevel",
|
||
|
"code": "let name = 'Goku'\n\n// Your code\n\nequal(powerlevel > 9000, true)"
|
||
|
}
|
||
|
]
|