PLAY PODCASTS
PBS 44 - ES6 Arguments & Objects

PBS 44 - ES6 Arguments & Objects

Programming By Stealth · Allison Sheridan

November 26, 201757m 56s

Audio is streamed directly from the publisher (media.blubrry.com) as published in their RSS feed. Play Podcasts does not host this file. Rights-holders can request removal through the copyright & takedown page.

Show Notes

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!