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

What does Object.isFrozen return for an empty array that has been made non-extensible but not frozen?

const arr = Object.preventExtensions([]); console.log(Object.isFrozen(arr));