Method description:
Delete file directories asynchronously.
Grammar:
Since this method belongs to the fs module, the fs module needs to be introduced before use (var fs= require(“fs”) )
Receive parameters:
path Directory path
callback Callback, the callback function passes an err exception parameter.
Example:
Source code: