Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/nodejs/node
/ t
Function
t
deps/v8/test/mjsunit/harmony/public-instance-class-fields.js:34–42 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
32
33
{
34
function
t() {
35
class
X {
36
x = 1;
37
constructor() {}
38
}
39
40
var
x =
new
X;
41
return
x.x;
42
}
43
44
assertEquals(1, t());
45
}
Callers
6
public-instance-class-fields.js
File · 0.70
constructor
Method · 0.70
constructor
Method · 0.70
constructor
Method · 0.70
constructor
Method · 0.70
constructor
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected