2 comments

  • Timothy Kempf, almost 6 years ago

    It's tragic that in all the cases where I want to use these vanilla JS techniques (widgets on client websites), I'm unable to because of IE compatibility issues. Nothing breaks my heart more than having to modify .className directly.

    1 point
  • Jonathan SvärdénJonathan Svärdén, almost 6 years ago

    Strange list. The last example for events is flat out wrong. You need to pass a named function to remove an event listener. An anonymous function doesn't make sense.

    0 points