createConsole function

Console createConsole(
  1. Writable stdout, [
  2. Writable? stderr
])

Implementation

Console createConsole(Writable stdout, [Writable? stderr]) {
  if (stderr == null) {
    return callConstructor(console.Console, [stdout]);
  } else {
    return callConstructor(console.Console, [stdout, stderr]);
  }
}