lumix
lumix
> 附加需求: > > 1. catch完允许恢复 > 2. then/catch的回调允许返回Promise > > ```js > let isThenable = x => !!(x!==undefined && x.then); > let runThenable = (func, arg) => isThenable(arg) ?...
@lumixraku solve it
@lumixraku solve it
@lumixraku solve it
Both Chrome and Edge on windows can not reproduce this issue
> > 无意间听到这种用法: > > `person?.name?.firstName` 可以理解成 `person && person.name && person.firstName` > > 认真的么 认真的,在试图访问的属性后面加上小问号就是 if not undefined 的逻辑