Do not confuse it with the desire to learn how strict work works, but why is strict mode activated with 'use strict';or "use strict";in contrast to a type expression use strict;?
'use strict';
"use strict";
use strict;
use strict; will cause an error on JS machines that do not support strict mode.
Using a string is backward compatible.
, . , ECMAScript a.k.a javascript . , ? , 'use strict' , use strict. , .
'use strict'
use strict
Source: https://habr.com/ru/post/1694991/More articles:What is the necessity or usefulness of using an instance variable / function attribute to implement memoization and pass records in each call? - pythonDownloading debug redistributable VS2008 applications compiled with VS2015 does not work - c ++How to load C DLL from SXS in Python? - c ++ArrayList contains one or more objects from another ArrayList - javaRails has_one association, access to related models - ruby | fooobar.comRails has_one unites confusion - ruby-on-rails-4tensor control point missing input tensor node - githubSaved search for saved searches with tags and email body in the results tab - netsuite.NET Entity Framework Original Version Version Mismatch Distribution - .netUsing the S3 Java SDK to work with S3 compatible storage (minio) - javaAll Articles