0 votes
in JavaScript by
What is known as the Strict mode and how can you enable it?

1 Answer

0 votes
by

The Strict mode helps you to check errors in your code. When you are using strict mode, you will not be able to use implicitly declared variables nor can you assign any value to read-only property.  

If you want to enable the strict mode, all you have to do is add “use strict” at the start of a program, function or file.

Related questions

0 votes
asked Sep 10, 2023 in VueJS by DavidAnderson
0 votes
0 votes
asked Nov 10, 2023 in ReactJS by GeorgeBell
...