23

Writing ES6 JavaScript

Comments
  • 3
    And now try ScalaJS ;)
  • 1
    ES6 is nice but I don't like everything. I honestly still prefer function statements over arrow functions
  • 1
    @liammartens I agree, but the function keyword is still usable and preferable in places. Arrow functions are really slick in callbacks, though, you have to admit.
  • 1
    @Re-cursing Thanks, I need new underwear now.
  • 0
    @jlave215 yea they can be useful in situations but like at my college they force you to use arrow functions everywhere (even eventhandlers). Like functions are so much easier there since you have access to this and all that. I just think it becomes messy with only arrow functions
  • 1
    Is there any browser which supports it already or are we still bound to transpiling? :/
  • 0
    @liammartens arrow functions ARE NOT A REPLACEMENT for normal Js functions, for example, the this scope won't be overridden by the function
  • 1
    @saarloos I know but my college doesn't realize that I guess xD
  • 2
    Es7 is out now too!
Add Comment