I got a SHL coding test today, and had a huge problem to get its input. I used to code in javascript. The first question is to get the amount of square numbers, and its input should be two arguments, "the amount of numbers" and "numbers", which I expect to look like:
function (4, [3,5,9,25])
function (number, array)
But in SHL, its function input looks like:
4
25 8 19 25
and in the question, it used "line1" and "line2" to refer the 2 inputs.
No matter how hard I tried, I cannot access the inputs correctly. Also console.log(input) got "wrong" as result.
I found very few information online. Is there anyone can help me or give a hint how to get the input as I hope?
Thank you vary much...QQ