标签:bsp func else ror log mis blog div 操作
var promise = new Promise(function(resolve, reject) { // ... some code if (/* 异步操作成功 */){ resolve(value); } else { reject(error); } });
标签:bsp func else ror log mis blog div 操作
原文地址:http://www.cnblogs.com/Oldz/p/7098659.html