Eramidik@lemmy.zip to Asklemmy@lemmy.ml · 11 months agoDoes an unfulfilled promise become a lie?message-squaremessage-square34fedilinkarrow-up149arrow-down13
arrow-up146arrow-down1message-squareDoes an unfulfilled promise become a lie?Eramidik@lemmy.zip to Asklemmy@lemmy.ml · 11 months agomessage-square34fedilink
minus-squarewintermute@feddit.delinkfedilinkarrow-up34·edit-211 months agoAn unfulfilled promise should return an object that is rejected with a given reason. (source) ;)
minus-squareJWBananas@startrek.websitelinkfedilinkEnglisharrow-up3·11 months agoThis is why we can’t have nice things.
minus-squarerasensprenger@feddit.delinkfedilinkarrow-up2·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?