MCPcopy Index your code
hub / github.com/cjss-group/CJSS / functionFromString

Function functionFromString

src/functionFromString.js:20–22  ·  view source on GitHub ↗
(code, argumentNames = [])

Source from the content-addressed store, hash-verified

18 * @param {string[]} argumentNames List of argument-names.
19 */
20export default function functionFromString(code, argumentNames = []) {
21 return new EvalFunction(...argumentNames, code);
22}

Callers 2

defaultPlugins.jsFile · 0.85
javascriptPluginFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected