MCPcopy Create free account
hub / github.com/dabbott/javascript-playgrounds / evaluate

Method evaluate

components/player/Sandbox.js:223–227  ·  view source on GitHub ↗
(filename, code)

Source from the content-addressed store, hash-verified

221 }
222
223 evaluate(filename, code) {
224 const wrapped = prefix + code + getSuffix(filename)
225
226 eval(wrapped)
227 }
228
229 render() {
230 return (

Callers 6

_defaultFunction · 0.80
player-bundle.jsFile · 0.80
iFunction · 0.80
nFunction · 0.80
Class · 0.80
runApplicationMethod · 0.80

Calls 1

getSuffixFunction · 0.70

Tested by

no test coverage detected