MCPcopy
hub / github.com/mishoo/UglifyJS-old / regular_for

Function regular_for

lib/parse-js.js:941–948  ·  view source on GitHub ↗
(init)

Source from the content-addressed store, hash-verified

939 };
940
941 function regular_for(init) {
942 expect(";");
943 var test = is("punc", ";") ? null : expression();
944 expect(";");
945 var step = is("punc", ")") ? null : expression();
946 expect(")");
947 return as("for", init, test, step, in_loop(statement));
948 };
949
950 function for_in(init) {
951 var lhs = init[0] == "var" ? as("name", init[1][0]) : init;

Callers 1

for_Function · 0.85

Calls 4

expectFunction · 0.85
isFunction · 0.85
asFunction · 0.85
in_loopFunction · 0.85

Tested by

no test coverage detected