Fix prototype typo.

This commit is contained in:
John-David Dalton
2016-09-27 14:04:06 -07:00
parent 320ef6f933
commit 26d5ba992c

View File

@@ -1672,7 +1672,7 @@
if (objectCreate) {
return objectCreate(proto);
}
object.prototype = prototype;
object.prototype = proto;
var result = new object;
object.prototype = undefined;
return result;