symbols.js (402B)
1 // |reftest| skip-if(!Error.isError) -- Error.isError is not enabled unconditionally 2 // Copyright (C) 2024 Jordan Harband. All rights reserved. 3 // This code is governed by the BSD license found in the LICENSE file. 4 5 /*--- 6 esid: sec-error.iserror 7 description: > 8 Returns false on symbols 9 features: [Error.isError, Symbol] 10 ---*/ 11 12 assert.sameValue(Error.isError(Symbol()), false); 13 14 reportCompare(0, 0);