How to avoid accidentally implicitly referring to properties on the global object?

前端 未结 5 1793
面向向阳花
面向向阳花 2020-11-30 09:27

Is it possible to execute a block of code without the implicit with(global) context that all scripts seem to have by default? For example, in a browser, would t

5条回答
提交回复
热议问题