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

Function for_in

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

Source from the content-addressed store, hash-verified

948 };
949
950 function for_in(init) {
951 var lhs = init[0] == "var" ? as("name", init[1][0]) : init;
952 next();
953 var obj = expression();
954 expect(")");
955 return as("for-in", init, lhs, obj, in_loop(statement));
956 };
957
958 var function_ = function(in_statement) {
959 var name = is("name") ? prog1(S.token.value, next) : null;

Callers 1

for_Function · 0.85

Calls 4

asFunction · 0.85
nextFunction · 0.85
expectFunction · 0.85
in_loopFunction · 0.85

Tested by

no test coverage detected