A.  fs.delete(fd, len, callback)

B.  fs.remove(fd, len, callback)

C.  fs.unlink(path, callback)

D.  None of the above.

1
Correct Answer :
fs.unlink(path, callback)
Explanation :

fs.unlink(path, callback) is the method which is used to delete a file.


Interview Questions

MongoDB
Java Script
Node JS
PHP
JQuery
Python