单项选择题

A.window.opener,属性本身就是指向window对象
B.window.Reload()方法可以用来刷新当前页面
C.window.location="a.html”和window.location.href="a.html”的作用都是把当前页面替换成a.html页面
D.定义了全局变量g;可以用window.g的方式来存取该变量