用es6 class手写promise参考自[链接] {代码...} ... return value && typeof value === "object"; }; class Promise { constructor(fun) { // 1.
確定! 回上一頁