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
882 B
18 lines
882 B
[ |
|
{ |
|
"description": "Test with an empty list", |
|
"code": "let vips = []\nconst args = saveArguments(console, 'log')\n\n// Your code\n\nequal(args[0], ['The only failure is not to try.'])" |
|
}, |
|
{ |
|
"description": "Test if he is not invited", |
|
"code": "let vips = ['Dora', 'Bruce Willis']\nconst args = saveArguments(console, 'log')\n\n// Your code\n\nequal(args[0], ['The only failure is not to try.'])" |
|
}, |
|
{ |
|
"description": "Test if he is in the list", |
|
"code": "let vips = ['Dora', 'Jacky', 'George Clooney', 'Bruce Willis']\nconst args = saveArguments(console, 'log')\n\n// Your code\n\nequal(args[0], ['What else ?'])" |
|
}, |
|
{ |
|
"description": "Test if he is the first in the list", |
|
"code": "let vips = ['George Clooney', 'Jacky', 'Bruce Willis']\nconst args = saveArguments(console, 'log')\n\n// Your code\n\nequal(args[0], ['What else ?'])" |
|
} |
|
] |