下面一段JavaScript代码 var globalVar&n...
发布于 2022-03-03 16:44:28
下面一段JavaScript代码
var globalVar = "abc" var x = { foo : 1} var y = {bar : "hello"} (function() { delete x.foo console.log(x.foo) delete globalVar console.log(glovalVar) var yobj = Object.create(y) delete yobj.x console.log(yobj.x) })()
请打出输出的信息
关注者
0
被浏览
57