Fix ReferenceError in the wrapNativeSuper helper (#8100)

Fix a ReferenceError caused by a typo (`_construct` instead of
`construct`) in the external `wrapNativeSuper` helper. (The typo
doesn't usually cause an error in inline helpers because `_construct`
happens to be the default name given to the `construct` helper
function.)
This commit is contained in:
chocolateboy
2018-06-02 16:00:02 +00:00
committed by Nicolò Ribaudo
parent b8dcd6f593
commit 2abd7839e1
6 changed files with 38 additions and 8 deletions

View File

@@ -6,7 +6,7 @@ var env = {
}
};
// Wee need to use "with" to avoid leaking the modified Array to other tests.
// We need to use "with" to avoid leaking the modified Array to other tests.
with (env) {
class List extends Array {};
new List();