diff --git a/slides/140-spread-operator.html b/slides/140-spread-operator.html index 2c14eb7..7720e25 100644 --- a/slides/140-spread-operator.html +++ b/slides/140-spread-operator.html @@ -8,7 +8,7 @@ const bigger_list = [...list, 8, 13];
const fn = (x, y, z) => x + y + z; 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); // 4 (1 + 1 + 2)