Does anyone know an app, which can be used to run simple .js codes?
I want to understand how the code works, see what my mistakes are and I can’t do it here.
So let’ say I have task to return a sequence [1,2,3,4]
Let’s say with my code I generated a sequence [1,2,3], or may be I didn’t generate anything or generated [1,2,3,4,5].
When I run code here if it’s not what’s expected, I get “Your code should return [1,2,3,4]”.
So it doesn’t say what’s wrong, what I generated. So it’s quite difficult to understand what I did wrong, what my mistake is and how to modify my code based on such a response.
What I want the console to tell me that my output is [1,2,3] or that I don’t generate any response, etc. So I could see what I’m doing.