Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/nodejs/node
/ constructor
Method
constructor
deps/v8/test/mjsunit/harmony/public-instance-class-fields.js:511–515 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
509
class
C1 extends
class
{} {
510
x = log.push(1);
511
constructor() {
512
var
t = () => super();
513
super();
514
t();
515
}
516
}
517
518
assertThrows(() =>
new
C1, ReferenceError);
Callers
nothing calls this directly
Calls
2
t
Function · 0.70
eval
Function · 0.50
Tested by
no test coverage detected