Add a test for the this-spread fix in 976e8c1.

Addresses #1033.
This commit is contained in:
Brian Donovan 2015-03-16 08:40:32 -07:00 committed by Sebastian McKenzie
parent 67efb1b427
commit 4b5ba6c8c6
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,6 @@
var obj = {
foo: function foo() {
this.bar(...arguments)
this.blah(...arguments)
}
}

View File

@ -0,0 +1,8 @@
"use strict";
var obj = {
foo: function foo() {
this.bar.apply(this, arguments);
this.blah.apply(this, arguments);
}
};