what does use strict do in js code example
Example: javascript use strict
// Whole-Script Strict Mode Syntax
'use strict';
var v = "Hi! I'm a strict mode script!";
// Whole-Script Strict Mode Syntax
'use strict';
var v = "Hi! I'm a strict mode script!";