DEV Community

Cover image for 'use strict' in Javascript
Javascript Verse
Javascript Verse

Posted on

'use strict' in Javascript

The purpose of "use strict" is to indicate that the code should be executed in "strict mode".

With strict mode, you can not, for example, use undeclared variables

Top comments (0)