stdout


Node.js

  1. process.stdout.write('hello world\n')

Output

  1. hello world

Go

  1. package main
  2. import (
  3. "fmt"
  4. "os"
  5. )
  6. func main() {
  7. fmt.Fprint(os.Stdout, "hello world\n")
  8. }

Output

  1. hello world