Skip to content App logo
WRITE A POST Connect
Notifications
Sign In/Up
Via Twitter
Via GitHub
All about dev.to

re: Daily Challenge #3 - Vowel Counter VIEW POST

TOP OF THREAD FULL DISCUSSION
re: You could replace the import of compose with a tiny implementation of it that looks like this (and could be shortened to one line if you really wan...
 
bennypowers profile image Benny Powers 🇮🇱🇨🇦 twitter logo github logo
Jul 1
Permalink Settings Moderate Report Abuse

Could also

const compose = (...fns) => fns.reduce((f, g) => (...args) => (f(g(...args)));
DELETE EDIT REPLY
code of conduct - report abuse
Home About Privacy Policy Terms of Use Contact Code of Conduct
DEV Community copyright 2016 - 2019  🔥
Sloan, the sloth mascot

Join our DEV Community :)

We're a place where coders share, stay up-to-date and grow their careers.

Twitter logo Auth With Twitter GitHub logo Auth With GitHub

We strive for transparency and don't collect excess data.

twitter logo github logo