Home
last modified time | relevance | path

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

/external/v8/test/webkit/
Dclass-constructor-return.js37 class BaseNoReturn { constructor() { } }; class
116 class DerivedNoReturn extends BaseNoReturn { constructor() { super(); } };
117 class DerivedReturnImplicit extends BaseNoReturn { constructor() { super(); return; } };
118 class DerivedReturnUndefined extends BaseNoReturn { constructor() { super(); return undefined; } };
119 class DerivedReturnThis extends BaseNoReturn { constructor() { super(); return this; } };
120 class DerivedReturnObject extends BaseNoReturn { constructor() { super(); return {a:1}; } };
121 class DerivedReturnObject2 extends BaseNoReturn { constructor() { super(); return globalVariable; }…
122 class DerivedReturnString extends BaseNoReturn { constructor() { super(); return "test"; } };
123 class DerivedReturnNumber extends BaseNoReturn { constructor() { super(); return 1; } };
124 class DerivedReturnNull extends BaseNoReturn { constructor() { super(); return null; } };
[all …]
Dclass-constructor-return-expected.txt7 PASS (new BaseNoReturn) instanceof BaseNoReturn is true