Have the function WordCount(str) take the str string parameter being passed and return the number of words the string contains (ie. "Never eat shredded wheat" would return 4). Words will be separated by single spaces.
Factorial
Reverse a string
No-Library (pure JS), HTML, CSS, JavaScript
jQuery 1.9.1, HTML, CSS, JavaScript
jQuery Compat (edge), HTML, CSS, JavaScript
jQuery 1.10.1, HTML, CSS, JavaScript
Mootools 1.4.5, HTML, CSS, JavaScript