Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ampproject/amphtml
/ constructor
Method
constructor
test/unit/test-service.js:60–62 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
58
count = 0;
59
Class =
class
{
60
constructor() {
61
this.count = ++count;
62
}
63
};
64
factory = env.sandbox.spy(() => {
65
return
new
Class();
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected