Question:

Which operator is used to allocate memory to array variables in JavaScript?

Show Hint

new = constructor keyword for dynamic objects and arrays.
Updated On: June 02, 2025
  • new
  • malloc
  • calloc
  • free
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is A

Solution and Explanation

In JavaScript, memory for arrays or objects is allocated using the `new` keyword, e.g., let arr = new Array();
Was this answer helpful?
0
0

TS PGECET Notification