Error in documentation for jQuery.map

Error in documentation for jQuery.map

In the callback passed to the  .map function the first parameter is the index not the element.