您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

index.js 211B

123456789
  1. 'use strict';
  2. const pTry = (fn, ...arguments_) => new Promise(resolve => {
  3. resolve(fn(...arguments_));
  4. });
  5. module.exports = pTry;
  6. // TODO: remove this in the next major version
  7. module.exports.default = pTry;