6
test/fixtures/transformation/es6-spread/this-context/actual.js
vendored
Normal file
6
test/fixtures/transformation/es6-spread/this-context/actual.js
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
var obj = {
|
||||
foo: function foo() {
|
||||
this.bar(...arguments)
|
||||
this.blah(...arguments)
|
||||
}
|
||||
}
|
||||
8
test/fixtures/transformation/es6-spread/this-context/expected.js
vendored
Normal file
8
test/fixtures/transformation/es6-spread/this-context/expected.js
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
"use strict";
|
||||
|
||||
var obj = {
|
||||
foo: function foo() {
|
||||
this.bar.apply(this, arguments);
|
||||
this.blah.apply(this, arguments);
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user