We can curry a function either manually, using recursion, bind method, reduce method or lodash utility
manually
recursions
bind method
reduce method
lodash utility