JavaScript Developer — Hard
Key points
- `Object.create(null)` creates an object without prototype methods
- Useful for hash maps without inherited properties
- Prevents conflicts with default object methods
- Ensures a clean slate for user-defined properties
Ready to go further?
Related questions
