Saved Bookmarks
| 1. |
What do you mean by strict mode in javascript and characteristics of javascript strict-mode? |
|
Answer» In ECMAScript 5, a new feature called JavaScript Strict Mode allows you to write a code or a function in a "strict" operational environment. In most cases, this language is 'not particularly severe' when it comes to throwing errors. In 'Strict mode,' however, all forms of errors, including silent errors, will be thrown. As a result, debugging becomes a lot simpler. Thus programmer's chances of making an error are lowered. Characteristics of strict mode in javascript
|
|