indirect eval
// 上下文是 globalclass Global {getThis() {return (0, eval)('this')}}class Scope {getThis() {return (eval)('this')}}
indirect eval() executes it in global scope.
可以使用这个方法来检测 eval 是否被修改
Some records of life and study
// 上下文是 globalclass Global {getThis() {return (0, eval)('this')}}class Scope {getThis() {return (eval)('this')}}