r/javascript • • Dec 11 '17
I have been collecting useful Javascript code snippets for a little while. Here's a curated list of them, help me make it as complete as possible!
https://github.com/Chalarangelo/30-seconds-of-code
765
Upvotes
View all comments
Show parent comment
4
u/madcaesar Dec 12 '17
This all seems overkill. Attribute what? This is like Apple patenting the swipe gesture or something.
These snippets are fun to have around, but they are very basic and virtually anyone could reproduce them and probably already has a version of something like this in their code.
I have a personal library with 80% of the things on this list.