Jump to content
Larry Ullman's Book Forums

Chapter 7 Words.js Question


Recommended Posts

Can anyone explain what is the purpose of the "max" parameter in the function sortWords(max) function, included in words.js?

 

I do not see the parameter referenced anywhere inside the function; nor I see the function called with that argument. Very confusing to me.

 

Thanks

Link to comment
Share on other sites

 Share

×
×
  • Create New...