From 6aada8d95358b79b1dd3a931178a57fd89071e4e Mon Sep 17 00:00:00 2001 From: Gabriel Bonner <17228243+gabrielbonner@users.noreply.github.com> Date: Fri, 15 Dec 2017 10:46:46 -0800 Subject: [PATCH] Fix array.concat snippet Correct return value --- snippets/array-concatenation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/array-concatenation.md b/snippets/array-concatenation.md index 40bf43c29..a77b50327 100644 --- a/snippets/array-concatenation.md +++ b/snippets/array-concatenation.md @@ -4,5 +4,5 @@ Use `Array.concat()` to concatenate an array with any additional arrays and/or v ```js const ArrayConcat = (arr, ...args) => [].concat(arr, ...args); -// ArrayConcat([1], [1, 2, 3, [4]]) -> [1, 2, 3, [4]] +// ArrayConcat([1], [1, 2, 3, [4]]) -> [1, 1, 2, 3, [4]] ```