What is strict mode in javascript?



What is strict mode in javascript?..

Answer / Ashish Srivastava

Strict mode is a mechanism in JavaScript that activates certain restrictions and adds warnings to help prevent errors. It can be enabled by adding 'use strict' as the first line of a script or a function.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JavaScript Interview Questions

How you can modify XAML content from JavaScript in Silverlight?

1 Answers  


What is let keyword in typescript?

1 Answers  


What is purpose of onerror event handler in javascript?

1 Answers  


What is the disadvantage of using innerhtml in javascript?

1 Answers  


How do I run javascript on my iphone?

1 Answers  


What are the pop-up boxes available in javascript?

1 Answers  


What is a framework programming?

1 Answers  


How do you name a variable in javascript?

1 Answers  


How do I add javascript to chrome?

1 Answers  


How does typeof operator work?

1 Answers  


Is javascript multi-threaded or single-threaded?

1 Answers  


Write the point of difference between web-garden and a web-farm?

1 Answers  


Categories