Q. Which method appends data to a file?

A
fs.appendFile()
B
fs.writeFile()
C
fs.addFile()
D
fs.extendFile()
Solution:

fs.appendFile() appends data to a file in Node.js.

Entri PDF Icon

Get Question Bank

Strengthen Your Practice with our comprehensive question bank.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!