with statement

[1/1]

  1. Alternatives to the 'with' Statement in JavaScript
    However, there are downsides to using "with":Confusion: It can make code hard to understand because it creates ambiguity about where a variable is coming from