diff --git a/get-started/ch3.md b/get-started/ch3.md index 43be80556..2cf8ed18d 100644 --- a/get-started/ch3.md +++ b/get-started/ch3.md @@ -102,6 +102,8 @@ Since arrays are iterables, we can shallow-copy an array using iterator consumpt ```js var arrCopy = [ ...arr ]; +arrCopy; +// [ 10, 20, 30 ] ``` We can also iterate the characters in a string one at a time: