Mitul Dabhi
answered Nov 30 '-1 00:00
"use strict" means more strict restriction for coding .
it will generate more error and more throw exception . it prevent to take unsafe action .
check here more detail
(function(test){
"use strict"; // enable strict mode within this function
var value='t';
delete value;
})
it will throw error ::
Uncaught SyntaxError: Delete of an unqualified identifier in strict mode.
but without "use strict"
(function(test){
var value='t';
delete value;//return false
})
delete bar return false only not throw any error .because strict mode is not on