Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Internal working of 'use strict' in javascript

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?

like image 225
p.pradnya Avatar asked Nov 26 '25 12:11

p.pradnya


1 Answers

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

like image 157
Brad Avatar answered Nov 29 '25 03:11

Brad



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!