Why You Shouldn't Use "With Statement" Syntax in JavaScript

Why You Shouldn’t Use “With Statement” Syntax in JavaScript

Let’s look at the JavaScript with statement. We will go over the simple uses, as well as a deep dive into some more advanced concepts.