|
|
|
|
|
by stasgavrylov
2272 days ago
|
|
Great resource. I'm wondering whether the examples are your own or copied from across the web? I just wanted to point out that some of them are a bit outdated, and I belive it'd be nice to maintain this list as a reference with modern approaches. For example, there's no need to use `appendChild`, because DOM today has a more versatile `append` method. And `[].forEach.call(cols, function(col) {...}` would look much better and more declarative as `for (const col of cols) { ... }`. These are just first 2 examples that I noticed. |
|