JS: Object.isFrozen

By Xah Lee. Date: . Last updated: .
Object.isFrozen(obj)
Return true if the object is frozen. 〔see Object.freeze
const jj = {};
console.log(Object.isFrozen(jj) === false);
Object.freeze(jj);
console.log(Object.isFrozen(jj));

JavaScript, Prevent Change Property