function writeToFile(fileName, data) {
     fs.writeFile(fileName, data, err => {
         if (err) throw err;
         console.log('Success! README file has been generated!');
        });
     }
// TODO: Create a function to write README file
Create a function to write README file
Create a function to write README file
function writeToFile(fileName, data) {
     fs.writeFile(fileName, data, err => {
         if (err) throw err;
         console.log('Success! README file has been generated!');
        });
     }
function writeToFile ( fileName , data ) { fs . writeFile ( fileName , data , err => { if ( err ) throw err ; console . log ( 'Success! README file has been generated!' ) ; } ) ; }
TODO: Create a function to write README file
TODO : Create a function to write README file