What are the characteristics of javascript ‘strict mode’?



What are the characteristics of javascript ‘strict mode’?..

Answer / Amit Kumar Srivastav

JavaScript 'strict mode' enhances error handling, disallows certain features that can lead to errors and helps maintain a consistent execution environment. Some key characteristics include:
1. Disallowing undeclared variables.
2. Strict evaluation of variables.
3. Disabling implicit globals.
4. Disallowing this keyword misuse.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JavaScript Interview Questions

How to capture the Image width and height using QTP script ? Kindly answer plz.... Thanx in adavance...

1 Answers  


How are DOM utilized in JavaScript?

1 Answers  


What are the main uses of javascript?

1 Answers  


What is the use of dom?

1 Answers  


Explain the working of timers in javascript?

1 Answers  


What does 3+4+"7" evaluate to?

1 Answers  


What does => mean in node js?

1 Answers  


What is the role of javascript in a web page?

1 Answers  


Can an anonymous function be assigned to a variable?

1 Answers  


What is number in javascript?

1 Answers  


How to show progress bar while loading using ajax call?

1 Answers  


How will you explain closures in javascript? When are they used?

1 Answers  


Categories