4 ms·
From the MDN docs: > Use of the with statement is not recommended, as it may be the source of confusing bugs and compatibility issues. See the "Ambiguity Contr
by dgb23 7y ago
From the MDN docs:
> Use of the with statement is not recommended, as it may be the source of confusing bugs and compatibility issues. See the "Ambiguity Contra" paragraph in the "Description" section below for details.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/with https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
- madeofpalk 7y agoThat's the joke? Use of new Function and eval is also generally not recommended.
- bigblind 7y ago"Living a little" is not recommended, because it may lead to confusing situations.