Eramidik@lemmy.zip to Asklemmy@lemmy.ml · 11 months agoDoes an unfulfilled promise become a lie?message-squaremessage-square13fedilinkarrow-up150arrow-down13
arrow-up147arrow-down1message-squareDoes an unfulfilled promise become a lie?Eramidik@lemmy.zip to Asklemmy@lemmy.ml · 11 months agomessage-square13fedilink
minus-squarewintermute@feddit.delinkfedilinkarrow-up33·edit-211 months agoAn unfulfilled promise should return an object that is rejected with a given reason. (source) ;)
minus-squareJWBananas@startrek.websitelinkfedilinkEnglisharrow-up2·11 months agoThis is why we can’t have nice things.
minus-squarerasensprenger@feddit.delinkfedilinkarrow-up1·11 months agoDoes Javascript have anything to say about promises that are never resolved/rejected? Is that something that happens?
An unfulfilled promise should return an object that is rejected with a given reason. (source)
;)
This is why we can’t have nice things.
Does Javascript have anything to say about promises that are never resolved/rejected? Is that something that happens?