tomayac’s avatartomayac’s Twitter Archive—№ 21,009

  1. …in reply to @Keithamus
    @Keithamus @kennethrohde @passle_ @domenic Maybe we could do something smart as in the third parameter of addEventListener(): developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#syntax. For setTimeout(), if the second parameter’s an integer, it’s the timeout. Else, if it’s an object, it would require a required timeout and an optional signal prop?!