+ 4
No, we can not create any object or its array without new keyword because the nee keyword is used to allocate memory for that variable.. And memory must be allocated for the object to be used...
15th Jan 2019, 2:18 AM
Rohit
Rohit - avatar
+ 2
Shivraj pattanshetti a number of type int is not an objective it is a primitive type.
16th Jan 2019, 3:47 PM
Shuaib Nuruddin
Shuaib Nuruddin - avatar
+ 1
Arrays are special objects in JavaScript. var x = ['foo', 'bar']; //typeof x is object..create array without new keyword. var x = new Array('foo','bar") //typeof x is object The difference between the first and second is the second uses a native.
15th Jan 2019, 5:43 AM
Michael Adeyemi
Michael Adeyemi - avatar