3

In spite of the use of use strict i want know how use strict works internally. who controls the behavior of the use strict? Is it a browser or JavaScript framework who takes care of Strict mode?

4
  • 1
    "Is it a browser or JavaScript framework who takes care of Strict mode?" - How could it be anything other than the browser? "use strict" changes the way certain fundamental parts of the language work, so... Commented Jan 26, 2014 at 5:12
  • 3
    @nnnnnn This may be obvious to you an I, but if it was obvious to the person asking, they wouldn't have asked the question. Commented Jan 26, 2014 at 5:12
  • You'll find the MDN entry informative. There's also some info in the ECMAScript 5 spec. Commented Jan 26, 2014 at 5:14
  • 1
    @Brad - I was hoping to prompt the OP to think it through. Also, there are any number of articles about strict mode - surely reading a couple of those and not seeing "You will need framework X to use strict mode" mentioned is a clue... Commented Jan 26, 2014 at 5:14

1 Answer 1

4

The JavaScript/ECMAScript engine within the browser itself is what takes care of interpreting this directive. This is a feature of ECMAScript 5.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.