fix static member expression calls, make classes more spec-compliant

This commit is contained in:
Sebastian McKenzie
2014-10-12 13:39:10 +11:00
parent 141ea98b89
commit bb697c6436
34 changed files with 158 additions and 128 deletions

View File

@@ -1,7 +1,7 @@
var Test = function (Foo) {
function Test() {
var Test = function Test() {
Foo.apply(this, arguments);
}
};
Test.prototype = Object.create(Foo.prototype, {
constructor: {
value: Test,