Answer the question
In order to leave comments, you need to log in
How to properly write JS array in Eclipse?
Hello.
I study JS and work in Eclipse. I used to work in sublines and visual studio and always made arrays like this. let names = ["Катя", "Вова", "Таня"];
But in eclipse, this method throws an error and requires the correct type syntaxint[] nums = new int[] { 1, 2, 3, 5 };
Answer the question
In order to leave comments, you need to log in
What nonsense? int[] nums = new int[] { 1, 2, 3, 5 };
- this is not JS syntax
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question