Question
What is Strict Mode in JavaScript?

Answers

-The fifth edition of ECMAScript specification has introduced Script Mode.
-Strict Mode applies a layer of constraint on JavaScript.
-It throws errors for actions that are problematic and didn’t throw an error before.
-It throws errors for the actions which are potentially unsafe.
-It shut downs the functions which are poorly thought out.
-Strict mode solves mistakes that are responsible for the difficulty of JavaScript engines to perform optimizations.
-To enable the strict mode we have to add the string literal “use strict” on the top of file or function as follow :
function myfunction()
{
“use strict";
var v = “I am a strict mode function";
}   Your Comment




More Software Questions..
What is the inputsplit in map reduce software?

What is software configuration management?

What Is Java Api For Xml-based Rpc (jax-rpc)?

How can you implement fine-grained auditing?

What is IBM’s simple explanation for Big Data’s four critical features?

What is static synchronized method in JDBC API? Give an example?

What does the NULLIF function do?

What happens if a start method is not invoked and the run method is directly invoked?

Should we override finalize method

what is the difference between mysql_fetch_array and mysql_fetch_object?

How will XML affect my document links?

Why to use Style Sheets?

What are Filters in MVC?

Can you explain Application layer in OSI model?

How to define new testplan attributes?

What are the minimum system requirements to run Photoshop? Is it possible to run Photoshop over linux?

Which oracle package is used to manage the oracle lock management services?

What is Latch Up? Explain Latch Up with cross section of a CMOS Inverter. How do you avoid Latch Up?

What is marker interface?

What types of partitioning are there for BW?



Search
Can you Answer!!
  • Q Do corporations issue both common stock and preferred stock?
  • Q What is cors? how does it work
  • Q Name most performed opera at London opera House since 1833
  • Q Explain the concept of ‘corporate ethics’.
  • Q If you were a college student again, what would you do differently to prepare you for this job?
  • Q What is dual vee model?
  • Q What is homeopathy's approach?
  • Q Give in details the methods of Bioremediation.
  • Q Which film star was the first to appear on a postage stamp
  • Q Unit testing Checklists Properties of a good unit test and Unit Testing Checklists
  • Q What are Streamribbon, Streamsurface, and Streamtube?