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