Update function.md

The second argument "i" in the push call in the map function is redundant since the callback function only expects one variable.