MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / ForInStatement

Function ForInStatement

tools/acorn-optimizer.mjs:240–244  ·  view source on GitHub ↗
(node, c)

Source from the content-addressed store, hash-verified

238 }
239 },
240 ForInStatement(node, c) {
241 // We can't remove the var in a for-in, as that would result in an invalid syntax. Skip the LHS.
242 c(node.right);
243 c(node.body);
244 },
245 ForOfStatement(node, c) {
246 // We can't remove the var in a for-of, as that would result in an invalid syntax. Skip the LHS.
247 c(node.right);

Callers

nothing calls this directly

Calls 1

cFunction · 0.50

Tested by

no test coverage detected