标签: javascript android this native
本地应用调用javascript方法时的上下文是什么?
var result = 1; function fn1() { console.log(this.result); } var obj = { result: 2, fn2: function() { console.log(this.result) } };