Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • Is there anything special about your code? It throws me some errors, such as esversion 6 is needed for => arrow or _ is not defined.
    – dwycxt
    Commented Jun 1, 2017 at 15:14
  • It's es6, if you can't use it it's easy to transpile, even online: BABEL Commented Jun 1, 2017 at 15:22
  • Plus 1 for using vanilla js. Very fancy. Commented Jun 1, 2017 at 15:59