Discards everything. The JS API's default, so a programmatic run prints nothing unless it was asked to.
import { silentConsole } from './console.ts'; silentConsole.log('nothing happens'); // undefined — and nothing is printed
Discards everything. The JS API's default, so a programmatic run prints nothing unless it was asked to.
import { silentConsole } from './console.ts'; silentConsole.log('nothing happens'); // undefined — and nothing is printed
import { silentConsole } from "lib/console.ts";