Statement JavaScript Tutorial

Syntax

with(object){
      code;
    }
The with statement takes an object and refers to all of the properties, methods, and events of that object without directly referencing the object itself.