Direction: Choose the correct option
Q1.
Which method is used to rename a file or directory?
Direction: Choose the correct option
Q2.
How do you delete a file in Node.js?
Direction: Choose the correct option
Q3.
What happens if you try to rename a file to an existing name?
Direction: Choose the correct option
Q4.
Which method is used to delete a non-empty directory recursively?
Direction: Choose the correct option
Q5.
What does `fs.rename()` return to its callback?
