haikuwebkit/JSTests/es6/Array.prototype_methods_Arr...

10 lines
130 B
JavaScript

function test() {
return typeof Array.prototype.find === 'function';
}
if (!test())
throw new Error("Test failed");