MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / arrayLiteral

Function arrayLiteral

lib/web/CodeMirror/mode/javascript/javascript.js:820–823  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

818 if (value == "from") { cx.marked = "keyword"; return cont(expression); }
819 }
820 function arrayLiteral(type) {
821 if (type == "]") return cont();
822 return pass(commasep(expressionNoComma, "]"));
823 }
824 function enumdef() {
825 return pass(pushlex("form"), pattern, expect("{"), pushlex("}"), commasep(enummember, "}"), poplex, poplex)
826 }

Callers

nothing calls this directly

Calls 3

contFunction · 0.70
passFunction · 0.70
commasepFunction · 0.70

Tested by

no test coverage detected