mirror of
https://github.com/swc-project/swc.git
synced 2024-11-24 02:06:08 +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
|
|
* }
|
|
*/ }());
|