rockerest’s avatarrockerest’s Twitter Archive—№ 15,373

  1. …in reply to @kerrizor
    kerrizor nsiivola Basically, yes! Every lookup on a given object starts local (in case you've edited it) but then works it's way backward through the prototype chain to try to find the thing you want to use.
    1. …in reply to @rockerest
      kerrizor nsiivola (by the way, some people might try to tell you JavaScript has classes now, and they're wrong 😅 we have the class and extends keywords, but they're syntax sugar on top of prototype inheritance)