Programming By Stealth
PBS 44 - ES6 Arguments & Objects

PBS 44 - ES6 Arguments & Objects

Programming By Stealth

57:56

About this episode

In this installment of Programming By Stealth, Bart Busschots teaches us new ways to deal with arguments and objects in JavaScript ES6. We learn how to set default argument values for functions in a way that is self-documenting. He explains how variadic (aka Rest) arguments allow you to shove all of the arguments of a function into an array. Then he walks us through how to use for ... in loops to loop over objects. He reminds us of the difference between instance and static properties and explains how for ... in loops work with both kinds of properties. I really enjoyed this episode and followed almost all of it on the first time through!

More from Programming By Stealth

In this week's installment of Programming By Stealth, Bart wraps up his Jekyll on GitHub miniseries as he explains how to use data files, control permalinks, and set defaults in our front matter. At t…

1h 10m

In our penultimate installment of the Jekyll miniseries, Bart teaches about collections. They're a bit difficult to explain briefly because collections can be whatever you want them to be. To illustra…

1h 8m

Bart continues us on our journey to use Jekyll with GitHub Pages to make a proper website. Most proper websites these days include a blog, so that's what he tackles this week. With a few for loops, a…

1h 4m

We dust off our memory from where we left off learning about Jekyll back in PBS 181 in June of last year. After some housekeeping, Bart takes us through the challenge solution from PBS 181, and then t…

1h 14m