Node v8.11.1 with no context and strict mode enforced.
Create a script with your solution. It should be of the form similar to the following:
var play = (input) => {
return 'your answer';
}
Open the Code Golf server. Enter email and team name and upload the file containing your solution.
play
function must be in global scope.- Must work as strict. Use node with
--use_strict
flag to test your scripts. - ES6 allowed
- Comments, line breaks and whitespace do NOT count towards program length.