This is the same word count function that I showed in the previous post presented in the good old way of adding more properties and methods through the prototype.
String object is extened to have isWhite read only property and getWordCount method.
This is the same word count function that I showed in the previous post presented in the good old way of adding more properties and methods through the prototype.
String object is extened to have isWhite read only property and getWordCount method.