how to terminate a javascript statement code example Example: how to terminate a program in js process.exit(1)