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

Function arrowBody

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

Source from the content-addressed store, hash-verified

493 }
494 }
495 function arrowBody(type) {
496 findFatArrow(cx.stream, cx.state);
497 return pass(type == "{" ? statement : expression);
498 }
499 function arrowBodyNoComma(type) {
500 findFatArrow(cx.stream, cx.state);
501 return pass(type == "{" ? statement : expressionNoComma);

Callers

nothing calls this directly

Calls 2

findFatArrowFunction · 0.85
passFunction · 0.70

Tested by

no test coverage detected