<file_sep>// const name = 'smit';

// console.log(name);

function greet (name)
{
    var nm = name;
    console.log('hello,', nm);
}

greet('smit');
greet('heema');<file_sep>const {people, ages} = require('./people');

console.log(people);
console.log(ages);<file_sep>const people = ['smit', 'maulik', 'keyur', 'dvs'];
const ages = [28, 32, 45,20];

module.exports = {people, ages};<file_sep>const fs = require('fs');

const readStream = fs.createReadStream('./docs/doc3.txt')
const writeStream = fs.createWriteStream('./docs/doc4.txt');

readStream.on('data', (chunk) => {
    console.log('----- new Chunk-----');
    console.log(chunk.toString());
    writeStream.write('\n new chunk \n');
    writeStream.write(chunk.toString());
})