What is the significance, and what are the benefits, of including 'use strict' at the beginning of a JavaScript source file? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

What is the significance, and what are the benefits, of including 'use strict' at the beginning of a JavaScript source file?

8th Sep 2020, 10:15 AM
Sagosh Kumar
Sagosh Kumar - avatar
1 Resposta
+ 2
Dont use undeclared variable in the code.that will cause an error because of stict mode use strict
8th Sep 2020, 11:01 AM
HBhZ_C
HBhZ_C - avatar