We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a623ce4 + cd7dcd6 commit 983042fCopy full SHA for 983042f
1-js/05-data-types/05-array-methods/article.md
@@ -329,7 +329,7 @@ It calls the function for each element of the array and returns the array of res
329
For instance, here we transform each element into its length:
330
331
```js run
332
-let lengths = ["Bilbo", "Gandalf", "Nazgul"].map(item => item.length)
+let lengths = ["Bilbo", "Gandalf", "Nazgul"].map(item => item.length);
333
alert(lengths); // 5,7,6
334
```
335
0 commit comments