Well done!
You have completed JavaScript Primitive Data Types: Boolean, Undefined, Null, and Symbol Quiz!
Quiz Question 1 of 5
How can the use of symbols in JavaScript help avoid property name collisions in objects?
Choose the correct answer below:
-
A
By ensuring that all property names are strings.
-
B
By converting all property names to symbols automatically.
-
C
By allowing properties to have hidden values that are not accessible by normal property access methods.
-
D
By providing a unique identifier for each property, making it impossible to accidentally overwrite properties with the same name.