异步示例 .resolves async /await 错误处理 .rejects Version: 27.1 异步示例 首先, 像 Getting Started 里面所说的那样, 启用babel的支持 Let’s implement a module that fetches user data from an API and ...
fs Extends NativeObject The fs object provides methods to read and write files. All methods are asynchronous and return a promise. Import this object with “const {fs} = requi...