News for hackers. Stuff that matters.
Re:How to manage HTML DOM with vanilla JavaScript only? by lhorie on Thursday April 02, 2020 @04:40PM (#22763518)
Many reasons.

1) Hoisting + mutability

  a = 'lol';
  function a() {}
  a() // error
2) one-liners

  const findByName = (list, name) => list.find(item => item.name === name);
  //vs
  function findByName(list, name) {
    return list.find(item => item.name === name);
  }
3) signaling that `this` keyword usage should not happen
Re:How to manage HTML DOM with vanilla JavaScript only? by orange8 on Thursday April 02, 2020 @04:55PM (#22763714)
And when you don't need any of that, how do you signal that you do not need it?