name.js (577B)
1 // Copyright (C) 2015 the V8 project authors. All rights reserved. 2 // This code is governed by the BSD license found in the LICENSE file. 3 4 /*--- 5 es6id: 14.5.15 6 description: Assignment of function `name` attribute 7 info: | 8 ClassDeclaration : class BindingIdentifier ClassTail 9 10 [...] 11 6. If hasNameProperty is false, then perform SetFunctionName(value, 12 className). 13 includes: [propertyHelper.js] 14 ---*/ 15 16 class Test262 {} 17 18 verifyProperty(Test262, "name", { 19 value: "Test262", 20 writable: false, 21 enumerable: false, 22 configurable: true, 23 }); 24 25 reportCompare(0, 0);