Node.js - Child Processes
What will be the output of this Node.js code snippet?
Assuming 'child.js' sends back the message it receives.
const { fork } = require('child_process');
const child = fork('child.js');
child.on('message', msg => console.log(msg));
child.send('Hello');Assuming 'child.js' sends back the message it receives.
