Day 26

aronson(25)
Published in
#code
Words
147
Reading
1 min
Listen
Play
9y

February 8th 2018

Hello! At the ES6 course by Wes Bos I learned about the ES6-spread and rest operators.
The... spread operator takes every single item from an iterable(anything you can loop over with a for...of loop)and apply to the containing array.

const fridayPizzas = [...pizzas];

It can also copy an array without changing the original as well as spreading into a function.
...the rest param does the exact opposite than the spread, it takes multiple things and packs it in a single array.
const [name, id, ...runs] = runner;

In the CSS grid course we learned how to use Bootstrap without Bootstrap.

And at the Web Development Bootcamp I finished the ToDoList, although a span is malfunctioning. It is not in the same line as the list, and I don’t for the love of me know why. I have to figure that one out still.

Cheers!

Day 26 | Ecency