Commit Graph

3 Commits

Author SHA1 Message Date
faec79cba6 Simplify countBy 2018-10-15 12:18:24 +04:00
f2e5e26af3 Avoid confusing prototype methods for static methods
Correct: `Array.from()` (it’s a static method)
Incorrect: `Array.join()` (doesn’t exist; it’s a prototype method)

This patch uses the common `#` syntax to denote `.prototype.`.
2018-09-28 15:44:12 -04:00
1ea24c068d Add countBy, update other By snippets
Updated all By snippets to have matching behavior, consistent argument naming and added countBy as per #100.
2018-01-11 13:45:53 +02:00