Eramidik@lemmy.zip to Asklemmy@lemmy.ml · 11 months agoDoes an unfulfilled promise become a lie?message-squaremessage-square18fedilinkarrow-up110arrow-down10
arrow-up110arrow-down1message-squareDoes an unfulfilled promise become a lie?Eramidik@lemmy.zip to Asklemmy@lemmy.ml · 11 months agomessage-square18fedilink
minus-squarewintermute@feddit.delinkfedilinkarrow-up7·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?