Created
January 23, 2018 17:36
-
-
Save fbn4sc/7cea91de17cd279394feff71f42df134 to your computer and use it in GitHub Desktop.
An example of the split method.
This file contains hidden or 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
const arr = ('1,2,3').split(',') | |
//arr equals [ 1, 2, 3 ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment