What is 'use strict'?

The 'use strict' is a new ECMAScript version 5 directive. It’s a literal expression, not a statement, ignored by previous JavaScript versions. It is purposed to indicate that the code should be executed in the "strict mode."

Suggest An Answer

No suggestions avaliable!

Latest post from JavaScript interview questions

Ask Question