Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumJavaScriptimmutability patternsSingle-choice MCQ

What is the output of this snippet?

"use strict";\nconst o=Object.freeze({x:1});\no.x=2;