2022-01-06 18:14:37 +08:00

16 lines
360 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//1.这个对象存在于js而不存在于nodejs比如window,document,screen.
//2.这些对象的属性 是一个值。
var window ={}
// window.btoa=function(aa){
// return aa
// }
var document={}
document={"location":{"href":"https://bbs.nightteam.cn/member.php?mod=register"}}
var screen ={"width":900,"height":1200}
console.log(screen.width)