MCPcopy Create free account
hub / github.com/ampproject/amphtml / debugEvaluate_

Method debugEvaluate_

extensions/amp-bind/0.1/bind-impl.js:1731–1735  ·  view source on GitHub ↗

* @param {string} expression

(expression)

Source from the content-addressed store, hash-verified

1729 * @param {string} expression
1730 */
1731 debugEvaluate_(expression) {
1732 this.evaluateExpression_(expression, this.state_).then((result) => {
1733 user().info(TAG, result);
1734 });
1735 }
1736
1737 /**
1738 * Wait for bind scan to finish for testing.

Callers

nothing calls this directly

Calls 4

evaluateExpression_Method · 0.95
userFunction · 0.90
infoMethod · 0.80
thenMethod · 0.45

Tested by

no test coverage detected