复制代码 代码如下:
var gb1 = 10;
this.gb2 = 20;
function gb3() {};
(function() {
var ro = RuntimeObject(),
ret = [],
for(p in ro) {
ret.push(p);
}
alert('global var List: ' + ret.join('\n'));
})();
时间: 2024-10-06 06:14:23
复制代码 代码如下:
var gb1 = 10;
this.gb2 = 20;
function gb3() {};
(function() {
var ro = RuntimeObject(),
ret = [],
for(p in ro) {
ret.push(p);
}
alert('global var List: ' + ret.join('\n'));
})();