Reduce Function Array Javascript Methods Cheat