
Splatty-doo and Other JavaScript Features You Should Avoid - JSJ 543
JavaScript Jabber
00:00
With Statement
The with key word, or the with statement is effectively deprecated. It creates a dynamic scope that cannot be inferred at compile time. Job script optimiser can do all sorts of optimizations once you know what variables were declared within the scope so it doesn't need to look up an unnamed variable. The java engine sees this and uses leza for its own optimization.
Transcript
Play full episode