Your Teacher | Jeffrey Way

https://laracasts.s3.amazonaws.com/avatars/jeffrey-avatar.jpg's avatar
Hi, I'm Jeffrey. I'm the creator of Laracasts and spend most of my days building the site and thinking of new ways to teach confusing concepts. I live in Orlando, Florida with my wife and two kids.

About This Episode

Published on May 2nd, 2016

ES5 doesn't offer support for default parameters. So, as a result, we all ended up resorting to less-than-ideal alternatives (like name = name || 'Joe'). Luckily, with ES6, it'll all just work the way you'd expect. Even better, you're not limited to primitives alone; you can even set the default value equal to the result of a function call!

Episodes

    1. Babel Setup

      Free Episode 9:00
    2. To Var, Let, or Const

      Free Episode 10:02
    3. Arrows

      Free Episode 7:41
    4. Default Parameters

      Free Episode 2:19
    5. Rest and Spread

      Free Episode 5:19
    6. Template Strings

      Free Episode 4:09
    7. Classes

      Free Episode 9:08
    8. ES6 Modules

      Free Episode 11:44
    9. Promises 101

      Free Episode 9:28
    10. Useful String Additions

      Free Episode 7:14
    11. ES2015 Generators

      Free Episode 9:12
    12. Sets

      Free Episode 5:35
Laravel Shift
Back to Series Button