๐'use strict'
JS โฉ grammar โฉ directive โฉ 'use strict'
(directive) indicate the code that follows is strict mode, can appear only at the start of a script / function body.
'use strict'; // enters strict mode
Last updated
Was this helpful?
JS โฉ grammar โฉ directive โฉ 'use strict'
(directive) indicate the code that follows is strict mode, can appear only at the start of a script / function body.
'use strict'; // enters strict mode
Last updated
Was this helpful?