mirror of
https://github.com/JeremyLikness/vanillajs-deck
synced 2024-12-04 19:27:37 +00:00
fix typo on spread slide
This commit is contained in:
parent
46557eca24
commit
0d09cdd855
@ -8,7 +8,7 @@ const bigger_list = [...list, 8, 13];
|
|||||||
<pre class="appear">
|
<pre class="appear">
|
||||||
const fn = (x, y, z) => x + y + z;
|
const fn = (x, y, z) => x + y + z;
|
||||||
fn(bigger_list);
|
fn(bigger_list);
|
||||||
// "1,1,2,3,5,8,13ndefinedundefined" ([1,1,2,3,5,8,13] + undefined + undefined)
|
// "1,1,2,3,5,8,13undefinedundefined" ([1,1,2,3,5,8,13] + undefined + undefined)
|
||||||
fn(...bigger_list);
|
fn(...bigger_list);
|
||||||
// 4 (1 + 1 + 2)
|
// 4 (1 + 1 + 2)
|
||||||
</pre>
|
</pre>
|
||||||
|
Loading…
Reference in New Issue
Block a user