What is the ‘Strict’ mode in JavaScript and how can it be enabled?
Answer / Neeraj
Strict mode in JavaScript is used to disallow certain actions in order to prevent errors and enforce a more predictable behavior. It can be enabled by adding 'use strict' at the beginning of a script or function.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is primitive data type in javascript?
Can you use javascript to hack?
How do I enable javascript on google?
what difference between args.length and args.length() in command line argument?
What is the event loop in JavaScript?
What's the difference methods get and post in html forms?
What is a closure in javascript?
When selecting the states by giving the country as input using ajax cal, how can we ensure that every time it is hitting the DB and fetching the data? Many time it may load from the cache.
How many types of functions are there in javascript?
Is javascript event driven?
find the common prime divisors of two given numbers
What is the default scope in javascript?