MCPcopy Create free account
hub / github.com/nodejs/node / updateForInStatement

Function updateForInStatement

test/fixtures/snapshot/typescript.js:24911–24917  ·  view source on GitHub ↗
(node, initializer, expression, statement)

Source from the content-addressed store, hash-verified

24909 }
24910 // @api
24911 function updateForInStatement(node, initializer, expression, statement) {
24912 return node.initializer !== initializer
24913 || node.expression !== expression
24914 || node.statement !== statement
24915 ? update(createForInStatement(initializer, expression, statement), node)
24916 : node;
24917 }
24918 // @api
24919 function createForOfStatement(awaitModifier, initializer, expression, statement) {
24920 var node = createBaseNode(244 /* SyntaxKind.ForOfStatement */);

Callers

nothing calls this directly

Calls 2

createForInStatementFunction · 0.85
updateFunction · 0.70

Tested by

no test coverage detected