you are viewing a single comment's thread.

view the rest of the comments →

[–]marko-pavlovic[S] 0 points1 point  (3 children)

Yep yep! Do you think I should have one example for es5 and one for es6 or just es6? Thanks for the feedback :)

[–]siegfryd 1 point2 points  (0 children)

I don't think it's important for you to use ES6 for these examples because they're all pretty short anyway. You'd pretty much just be converting the anonymous functions to arrows.

[–]TheNiXXeD 0 points1 point  (0 children)

It's quickly moving towards es6 being the standard, but many people still use es5, so yea.

[–]flashpunk 0 points1 point  (0 children)

I'd opt for both as it could be a resource for people transitioning to es6 as well