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
strict mode
JavaScript: The Definitive Guide ⟩ 5.6.3 "use strict"
Strict modearrow-up-right
Last updated 3 years ago