JavaScript's functional programming is initially very attractive, but if you slide into using it, you might be shocked at how ...