Functional programming in JavaScript | AbS