| Index: src/js/typedarray.js
|
| diff --git a/src/js/typedarray.js b/src/js/typedarray.js
|
| index b889d8bafc252c6eac6decfa9fb15831e63ce24b..488e94912114eab13691a82e2231d2d19782c02a 100644
|
| --- a/src/js/typedarray.js
|
| +++ b/src/js/typedarray.js
|
| @@ -844,12 +844,7 @@ function TypedArrayFrom(source, mapfn, thisArg) {
|
|
|
| // TODO(bmeurer): Migrate this to a proper builtin.
|
| function TypedArrayConstructor() {
|
| - if (IS_UNDEFINED(new.target)) {
|
| - throw %make_type_error(kConstructorNonCallable, "TypedArray");
|
| - }
|
| - if (new.target === GlobalTypedArray) {
|
| - throw %make_type_error(kConstructAbstractClass, "TypedArray");
|
| - }
|
| + throw %make_type_error(kConstructAbstractClass, "TypedArray");
|
| }
|
|
|
| function TypedArraySpecies() {
|
|
|