Array

Advertisement

In JavaScript we can create a array with two ways:

Create new array with – []

Array 1
Create new array with – []

Create new array with – new Array()

Array 2
Create new array with – new Array()

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: