const { exec } = require('child_process');
I'm still new to node.js. I would like to know what's the purpose of the curly braces near const, is it like an angular/typescript way to fetch the object from the module?
Is there any ES6 or whatever new syntax that I should be aware of? like:
const[foo] = , or const(foo) =