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.
 
 
 
 
 
 

10 lines
400 B

[
{
"description": "Count up to 3",
"code": "const args = saveArguments(console, 'log')\n\n// Your code\n\nupTo(3)\nequal(\n args.flat().join('\\n'),\n `0\n1\n2\n3`,\n)"
},
{
"description": "Count up to 11",
"code": "const args = saveArguments(console, 'log')\n\n// Your code\n\nupTo(11)\nequal(\n args.flat().join('\\n'),\n `0\n1\n2\n3\n4\n5\n6\n7\n8\n9\n10\n11`,\n)"
}
]