Created
March 2, 2018 16:01
-
-
Save carlosrojaso/0ee41461936cd7087e0889a88bddcb68 to your computer and use it in GitHub Desktop.
Javascript split by white spaces
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
.trim().replace(/\s+/, " ").split(" ") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment