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

Function arrowBody

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

Source from the content-addressed store, hash-verified

489 }
490 }
491 function arrowBody(type) {
492 findFatArrow(cx.stream, cx.state);
493 return pass(type == "{" ? statement : expression);
494 }
495 function arrowBodyNoComma(type) {
496 findFatArrow(cx.stream, cx.state);
497 return pass(type == "{" ? statement : expressionNoComma);

Callers

nothing calls this directly

Calls 2

findFatArrowFunction · 0.85
passFunction · 0.70

Tested by

no test coverage detected