Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ampproject/amphtml
/ incrementMutationCount
Function
incrementMutationCount
examples/amp-script/amp-script-demo.js:7–7 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
5
6
let
mutationCount = 0;
7
let
incrementMutationCount = () => {};
8
const
mutationCountLabel = document.getElementById(
'mutationCount'
);
9
if
(mutationCountLabel) {
10
incrementMutationCount = () => {
Callers
1
amp-script-demo.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected