JS With


### function
```typeconst object1 = {  property1: 42};object1[Symbol.unscopables] = {  property1: true};with (object1) {  console.log(property1);  // expected output: Error: property1 is not defined}```


> [Symbol.unscopables](https://developer.mozilla.org/ko/docs/Web/JavaScript/Reference/Global_Objects/Symbol/unscopables)

> [[Javascript] with 명령에 대하여](https://unikys.tistory.com/304)





