test262/test/language/statements/class/subclass-builtins/subclass-Float32Array.js

15 lines
428 B
JavaScript

// This file was procedurally generated from the following sources:
// - src/subclass-builtins/Float32Array.case
// - src/subclass-builtins/default/statement.template
/*---
description: new SubFloat32Array() instanceof Float32Array (Subclass instanceof Heritage)
flags: [generated]
---*/
class Subclass extends Float32Array {}
const sub = new Subclass();
assert(sub instanceof Subclass);
assert(sub instanceof Float32Array);