Develop/index.js
// TODO: Create a function to write README file
Create a function to write README file
Create a function to write README file
function writeToFile(answers, myReadMe) {
    fs.writeFile(`${answers.promptFileName}-readMe.md`, myReadMe, () => {
        console.log("done!");
    })
}
function writeToFile ( answers , myReadMe ) { fs . writeFile ( ` ${ answers . promptFileName } ` , myReadMe , ( ) => { console . log ( "done!" ) ; } ) }
TODO: Create a function to write README file
TODO : Create a function to write README file