Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/scottrogowski/code2flow
/ constructor
Method
constructor
tests/test_code/js/classes/classes.js:6–12 ·
view source on GitHub ↗
(height, width)
Source
from the content-addressed store, hash-verified
4
5
class
Rectangle {
6
constructor(height, width) {
7
this.height = height;
8
this.width = width;
9
this.i = 0;
10
print_hi();
11
this.calcArea()
12
}
13
calcArea() {
14
this.incr();
15
return
this.height * this.width
Callers
nothing calls this directly
Calls
2
calcArea
Method · 0.95
print_hi
Function · 0.85
Tested by
no test coverage detected