swc/crates/swc_ecma_codegen/tests/test262/b8705496c9c1ff60.js

17 lines
264 B
JavaScript

(function() {
var a = {};
with (a){
(1, b)(); // Don't transform it to test()
}
/*
* var obj = {
* test: function() {
* print(obj === this);
* }
* };
* with (obj) {
* test(); // true
* (0, test)(); // false
* }
*/ }());