MCPcopy Create free account
hub / github.com/codecombat/codecombat / entertain

Function entertain

spec/aether/global_scope_spec.js:163–163  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

161 const music = [];
162 const inner = {addMusic(song) { return music.push(song); }};
163 const outer = {entertain() { return inner.sing(); }};
164 outer.entertain.burninate = () => safe.pop();
165 const code = `\
166this.addMusic("trololo");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected