mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 04:32:01 +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
|
|
* }
|
|
*/ }());
|