This Gist was automatically created by Carbide, a free online programming environment.
-
-
Save peterschussheim/26e5d3eaa2f8024bee2ae1374fdcad17 to your computer and use it in GitHub Desktop.
Word Count
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.text; | |
"Word Count: " + window.text.trim().split(/\s+/).length |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment