标签:code opera rip class 输出 ati ring str key
function sayhello() {
return Promise.resolve(‘我是返回的值/将要传递给then‘).then(function(hello) {
console.log(hello);
});
}
function helloworld() {
sayhello();
console.log(‘world‘);
}
helloworld();
输出
> "world" > "
我是返回的值/将要传递给then
"
标签:code opera rip class 输出 ati ring str key
原文地址:http://www.cnblogs.com/webday/p/6772313.html