11.
How do you call a function in JavaScript?
12.
What is the return statement used for in a function?
13.
What is the purpose of using functions as values in JavaScript?
14.
How do you access an array element at a specific index in JavaScript?
15.
Which of the following statements accurately describes an object in JavaScript?
16.
What is the result of typeof [] in JavaScript?
17.
What does the push() method do when used with an array in JavaScript?
18.
How can you remove the last element from an array in JavaScript?
19.
What is the purpose of using the length property with arrays in JavaScript?
20.
How do you define a method within an object in JavaScript?