Destructuring also works on strings
destructure every character, just as if the string was an array
missing characters are undefined
unicode character work too
Required Knowledge
- `const` declaration (Block scope)
- in strings (Unicode)
Related Katas
Destructuring
- array
- string
- object
- defaults
- parameters
- assign
Difficulty Level
BEGINNER
First Published
27 March 2015
Stats
3 tests to solve