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
600 B
14 lines
600 B
4 years ago
|
[
|
||
|
{
|
||
|
"description": "Count from 0 to 11",
|
||
|
"code": "const args = saveArguments(console, 'log')\n\n// Your code\n\ngoTo11(0)\n\nequal(\n args.flat().join('\\n'),\n `0\n1\n2\n3\n4\n5\n6\n7\n8\n9\n10\n11`,\n)"
|
||
|
},
|
||
|
{
|
||
|
"description": "Count from 0 to 11",
|
||
|
"code": "const args = saveArguments(console, 'log')\n\n// Your code\n\ngoTo11(10)\n\nequal(\n args.flat().join('\\n'),\n `10\n11`,\n)"
|
||
|
},
|
||
|
{
|
||
|
"description": "Count from 12 to 11 (do nothing)",
|
||
|
"code": "const args = saveArguments(console, 'log')\n\n// Your code\ngoTo11(12)\n\nequal(args.flat().join('\\n'), ``)"
|
||
|
}
|
||
|
]
|