map: output array length will always match input length.
docs: updated