Click here to Skip to main content
14,735,206 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
How to create an integer array in javascript
Posted
Updated 17-Dec-19 2:56am
Comments
ZurdoDev 17-Dec-19 9:21am
   
Just google it. Very simple.

You shouldn't ask such trivial questions here. You should first trying to read a tutorial, for instance Mastering JavaScript Arrays[^].
   
For god's sake, learn how to use google. EVERY one of your recent questions can easily be answered with even the most rudimentary of google searches.
   
var x = new Array(2,3,4);

More help here[^]
   
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900