Skip to content
This repository was archived by the owner on Sep 25, 2019. It is now read-only.

Commit 31957a4

Browse files
TomerPacificscissorsneedfoodtoo
authored andcommitted
fix(challenges): fixed typo in algorithms and ds
1 parent 296cf44 commit 31957a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

challenges/02-javascript-algorithms-and-data-structures/basic-data-structures.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@
468468
"description": [
469469
"Another huge advantage of the <dfn>spread</dfn> operator, is the ability to combine arrays, or to insert all the elements of one array into another, at any index. With more traditional syntaxes, we can concatenate arrays, but this only allows us to combine arrays at the end of one, and at the start of another. Spread syntax makes the following operation extremely simple:",
470470
"<blockquote>let thisArray = ['sage', 'rosemary', 'parsley', 'thyme'];<br><br>let thatArray = ['basil', 'cilantro', ...thisArray, 'coriander'];<br>// thatArray now equals ['basil', 'cilantro', 'sage', 'rosemary', 'parsley', 'thyme', 'coriander']</blockquote>",
471-
"Using spread syntax, we have just achieved an operation that would have been more more complex and more verbose had we used traditional methods.",
471+
"Using spread syntax, we have just achieved an operation that would have been more complex and more verbose had we used traditional methods.",
472472
"<hr>",
473473
"We have defined a function <code>spreadOut</code> that returns the variable <code>sentence</code>, modify the function using the <dfn>spread</dfn> operator so that it returns the array <code>['learning', 'to', 'code', 'is', 'fun']</code>."
474474
],

0 commit comments

Comments
 (0)