1 min readDec 27, 2019
“use strict”;
annotation is used to enable errors thrown by the JavaScript engine for some non-standard operations, for example, setting the value of a variable that is not defined previously. It doesn't enable or disable a particular JavaScript feature.
In strict mode, JavaScript will throw an error to notify that the property of an object is not writable. However, whether in strict mode or not, the property value will not change.
Try again and log your original object.