MCPcopy Create free account
hub / github.com/ygs-code/vue / createFunction

Function createFunction

vue.js:15459–15466  ·  view source on GitHub ↗
(code, errors)

Source from the content-addressed store, hash-verified

15457 * */
15458 //把字符串 转成真正的js 并且以一个函数形式导出去
15459 function createFunction(code, errors) {
15460 try {
15461 return new Function(code)
15462 } catch (err) {
15463 errors.push({ err: err, code: code });
15464 return noop
15465 }
15466 }
15467
15468
15469 //创建编译函数

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected