Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/angular
/ constructor
Method
constructor
packages/core/test/test_bed_effect_spec.ts:31–37 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
29
})
30
class
Cmp {
31
constructor() {
32
log.push(
'Ctor'
);
33
34
effect(() => {
35
log.push(
'Effect'
);
36
});
37
}
38
39
ngDoCheck() {
40
log.push(
'DoCheck'
);
Callers
nothing calls this directly
Calls
2
effect
Function · 0.90
push
Method · 0.45
Tested by
no test coverage detected