1.
What does the const keyword do when used to declare an object in JavaScript?
2.
How can you change the properties of a constant object in JavaScript?
3.
Which of the following will result in an error when using a constant object in JavaScript?
4.
What is the output of the following code snippet?
5.
Which statement best describes the behavior of a constant object in JavaScript?
6.
What happens if you try to reassign a constant object to a new object in JavaScript?
7.
What is the result of the expression Object.keys(person).length for the following code snippet?
8.
Which of the following will cause an error when used with a constant object in JavaScript?
9.
How can you prevent modifications to the properties of a JavaScript object?
10.
What is the correct way to modify a property of a constant object in JavaScript?