MCPcopy Create free account
hub / github.com/TextGeneratorio/text-generator.io / arrayLiteral

Function arrayLiteral

static/libs/javascript.js:841–844  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

839 if (value == "from") { cx.marked = "keyword"; return cont(expression); }
840 }
841 function arrayLiteral(type) {
842 if (type == "]") return cont();
843 return pass(commasep(expressionNoComma, "]"));
844 }
845 function enumdef() {
846 return pass(pushlex("form"), pattern, expect("{"), pushlex("}"), commasep(enummember, "}"), poplex, poplex)
847 }

Callers

nothing calls this directly

Calls 3

contFunction · 0.85
commasepFunction · 0.85
passFunction · 0.70

Tested by

no test coverage detected