mirror of
https://github.com/swc-project/swc.git
synced 2024-11-30 15:23:33 +03:00
17 lines
264 B
JavaScript
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
|
|
* }
|
|
*/ }());
|