MCQs > IT & Programming > Node.js > Which of the following will copy a file in Node.js?

Node.js MCQs

Which of the following will copy a file in Node.js?

Answer

Correct Answer: var fs = require('fs'); fs.createReadStream('test.file').pipe(fs.createWriteStream('newFile.file'));

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Node.js Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Node.js Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it