Uninote
Uninote
用户根目录
brdr
common
programming
docs
后端试题
问题讨论

返回值

p2 = p1.then(onFullfill, onRejected);

onFullfill

  • is undefined
    • 跟随: p2's value === p1's value
  • is function, return:
    • promise x, p2's value 由 x 决定(subsquent to x)
    • non promise y, p2's value === y

docviewer

ar-demo

点赞(0) 阅读(7) 举报
目录
标题