FrontendInterviews.dev

637. Map Key Reference Identity

Easy•

Predict the output.

const m = new Map()
m.set({}, 1)
console.log(m.get({}))

What is the correct output/behavior?

Select an option and submit your answer.
Next Problem