A.  fs.close(fd, callback)

B.  fs.closeFile(fd, callback)

C.  fs.closePath(fd, callback)

D.  None of the above.

1
Correct Answer :
fs.close(fd, callback)
Explanation :

fs.close(fd, callback) is the method which is used to close a file.


Interview Questions

MongoDB
Java Script
Node JS
PHP
JQuery
Python