process on kill javascript code example Example: js kill process process.kill(process.pid, 'SIGINT');