Home
last modified time | relevance | path

Searched refs:classLit (Results 1 – 1 of 1) sorted by relevance

/external/v8/test/mjsunit/harmony/
Dfunction-name.js126 var basicFn, arrowFn, generatorFn, classLit;
147 classLit = class { constructor() {} }; class
148 assertEquals('classLit', classLit.name);
149 var classLit2 = classLit;
151 classLit = class classWithName { constructor() {} };
152 assertEquals('classWithName', classLit.name);
153 classLit = class { constructor() {} static name() {} };
154 assertEquals('function', typeof classLit.name);
155 classLit = class { constructor() {} static get name() { return true; } };
156 assertTrue(classLit.name);
[all …]