First digit is 3, so the only possibilities for first digit are : -> 3 -> horizontal/vertical adjacents (in this case 2 or 6).
This comment is hidden because it contains spoiler information about the solution
Ok, I get it. Thank you very much for your explanation
This is ES6 syntax.
Currently you can't run it in all browsers. I think FF could run it. You still can try the function using Babel'REPL.
Thanks for this explanation!
I tried to use this code in a browser (outside codewars environment) and I got this: Uncaught SyntaxError: Unexpected token ... Could you explain how ...args works, please? Thanks in advance!
Loading collection data...
First digit is 3, so the only possibilities for first digit are :
-> 3
-> horizontal/vertical adjacents (in this case 2 or 6).
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Ok, I get it. Thank you very much for your explanation
This is ES6 syntax.
Currently you can't run it in all browsers. I think FF could run it.
You still can try the function using Babel'REPL.
Thanks for this explanation!
I tried to use this code in a browser (outside codewars environment) and I got this:
Uncaught SyntaxError: Unexpected token ...
Could you explain how ...args works, please?
Thanks in advance!