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

Function addMusic

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

Source from the content-addressed store, hash-verified

160 const safe = ["secret"];
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 = `\

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected