Last active
May 9, 2016 21:29
-
-
Save arecvlohe/d4fb2585e1593eda1f2192a9536007ba to your computer and use it in GitHub Desktop.
stringCount
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
stringCount({ | |
name: 'Adam', | |
age: 29, | |
friends: ['Jane', 'Joe', 'Jake', 'Johnny'], | |
eyeColor: null, | |
status: undefined, | |
address: { | |
state: 'Florida', | |
city: 'St. Pete' | |
} | |
}) | |
//= 7 | |
// There are 7 strings in this entire object, including nested objects |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment