3 ms·
Enumerable methods are almos always what make me want to ditch Javascript for Ruby.
by faitswulff 8y ago
Enumerable methods are almos always what make me want to ditch Javascript for Ruby.
- jonahx 8y agoHave a look at: https://ramdajs.com/ https://ramdajs.com/
- zephyrfalcon 8y agoES6 has map, filter, reduce, etc... and anonymous functions which can be used in lieu of Ruby blocks.