To learn functional programming using JS