Array Back
In JavaScript, you can use a literal or a class name to create an array object:
- Object Literal:
const literalArray = [];
- Class Name:
const classArray = new Array();
In JavaScript, you can use a literal or a class name to create an array object:
const literalArray = [];
const classArray = new Array();