mirror of
https://github.com/swc-project/swc.git
synced 2024-12-30 09:03:37 +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
|
|
* }
|
|
*/ }());
|