Confirmed users
125
edits
(→Enabling DevTools Assertions: expand assertions a bit) |
(→Enabling DevTools Assertions: describe when assertions are not enabled) |
||
Line 102: | Line 102: | ||
When assertions are enabled, assertion failures are fatal, log console warnings, and throw errors. | When assertions are enabled, assertion failures are fatal, log console warnings, and throw errors. | ||
When assertions are not enabled, the <tt>assert</tt> function is a no-op. | |||
It also enables the "debug" builds of certain third party libraries, such as React. | It also enables the "debug" builds of certain third party libraries, such as React. |