MCPcopy Index your code
hub / github.com/ampproject/amphtml / getIncrementingValueFunction

Function getIncrementingValueFunction

test/e2e/test-expect.js:1568–1573  ·  view source on GitHub ↗

* Returns a method that resolves the numbers 0 through 6. * @return {function():!Promise }

()

Source from the content-addressed store, hash-verified

1566 * @return {function():!Promise<number>}
1567 */
1568function getIncrementingValueFunction() {
1569 let value = 0;
1570 return function () {
1571 return value++;
1572 };
1573}
1574
1575/**
1576 * Returns a method that resolves the numbers 0 through 6.

Callers 1

test-expect.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected