-
Notifications
You must be signed in to change notification settings - Fork 9
DLint FAQ
Liang Gong edited this page May 3, 2015
·
2 revisions
Most of the coding practices that DLint checks cannot be detected by running in JS engine's strict mode. There are two problems that might be manifested by enforcing strict mode:
- In strict mode, global
this
becomes undefined. - In strict mode, setting property to primitive values throws an exception.
Moreover, globally enforcing strict mode might disable some third-party library code which depends on the assumption that the code would be running in non-strict mode.
Doc maintained by Liang Gong