zachleat’s avatarzachleat’s Twitter Archive—№ 35,269

  1. thing I learned that I probably should have known already: even if you return a Promise in an async function JavaScript wraps it in a new Promise anyway it is the “paper or plastic? both” of code
    oh my god twitter doesn’t include alt text from images in their APIoh my god twitter doesn’t include alt text from images in their API
    1. …in reply to @zachleat
      Well, I learned a thing and it paid off here: @eleven_ty/1345480743938629632
      oh my god twitter doesn’t include alt text from images in their API
    2. …in reply to @zachleat
      (diff: the left screenshot is an async function and the right screenshot is not)
      1. …in reply to @zachleat
        a bit more clarity on my inaccurate use of the word “wrap” above—thanks @apaleslimghost! @apaleslimghost/1345050045494800384