• Tutorials
  • Courses
Switch to Dark Mode

JavaScript | Advanced JavaScript | Question 6

Last Updated : Jan 13, 2025
Discuss
Comments

What is a key feature of WeakMap in JavaScript?

A

Keys must be strings.

B

Keys are weakly referenced and cannot be primitive values.

C

Values are immutable.

D

It supports iteration.

Share your thoughts in the comments