When trying to type event.target.closest()
, I instead wrote event.target.closet()
. It took me too long to debug.
Currently, this is an embarrassing mistake. However, if we bug the ECMAScript standards committee, all event targets can have their own closet.