If a directive is accidentally misspelled, it will have no effect.

Correct the misspelling.

The following code snippet shows a function that contains a "usestrict" directive. Most likely, the programmer intended this to be a "use strict" directive, but due to the typo, the function will not execute in strict mode.

Correct the misspelling by replacing "usestrict" with "use strict".

  • Mozilla Developer Network: "use strict"
  • asm.js: "use asm"