-
-
Save gsasouza/caf3219c52435f31a19e548430c2901c to your computer and use it in GitHub Desktop.
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 name = 'Gabriel Santos Souza'; | |
const firstName = name.split(' ')[0]; | |
const secondName = name.split(' ')[1]; | |
console.log(firstName.length + secondName.length); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment