I am practicing JavaScript on Chrome's 'JavaScript Console' ( version: 35.0) and I am unable to use the 'use strict' clause as expected. For the following code snippet : var obj={x:1,y:2} //Define new property with 'writable' flag as false. Object.defineProperty(obj, "z", {value:3, writable:false, enumerable:false, configurable:false}) // Try to change the property 'z', "use strict"; obj["z"]=4 Ou
![How to use 'strict' mode in Chrome 'JavaScript Console'](https://cdn-ak-scissors.b.st-hatena.com/image/square/98d6f053a97a87156775f60757c60865d0f2c47d/height=288;version=1;width=512/https%3A%2F%2Fcdn.sstatic.net%2FSites%2Fstackoverflow%2FImg%2Fapple-touch-icon%402.png%3Fv%3D73d79a89bded)