MCPcopy Create free account
hub / github.com/marijnh/Eloquent-JavaScript / out

Method out

src/client/sandbox.mjs:239–242  ·  view source on GitHub ↗
(type, args)

Source from the content-addressed store, hash-verified

237 }
238
239 out(type, args) {
240 if (this.output) this.output.out(type, args)
241 else console[type].apply(console, args)
242 }
243
244 error(exception) {
245 if (!this.output) throw exception

Callers 1

setupEnvMethod · 0.95

Calls 1

outMethod · 0.45

Tested by

no test coverage detected