Here, we don't create class to get the object. Thus is you have a string whose value is the function name. // app.js let arr = new Array(4, 9, 16); console.log(arr); See the following output. It accepts two parameters, a tagName which is a string that defines the type of element to create, and an optional options object that can be used to modify how the element is created. A value in a JavaScript array can be anything from a number or string, through to a function or an object; JavaScript arrays can store pretty much any type of data. This method is notable in that it will actually execute
Sanitary & Firefighting Engineers | Contractors