100 Days
Day 10 - Arrow functions

Episode 10 · Season 1

Day 10 - Arrow functions

100 Days

19:49

About this episode

What I did

  • Watched and practiced this video on arrow functions. https://www.youtube.com/watch?v=h33Srr5J9nY
  • Just practiced re-writing normal functions as arrow functions.  Kinda didn’t get the big deal about them (or the point) apart from they look a bit cleaner, but this really only applies to basic functions were there is only one return statement.
  • When there is a lot going on in the return statement block of code, it doesnt really look that different so whats the point? However...
  • There is a big difference apparently when using the this keyword which I havent covered yet, so watch this space!
  • Post flight checklist

To re-learn

  • Callback functions - be able to accurately describe what it is.

Quote of the day

"All progress takes place out of your comfort zone" - Michael John Bobak

More from 100 Days

Started a beginners yoga course to help with RSI https://www.youtube.com/watch?v=6we3aNljJPc&list=PL-JjnyV2BH2XrgIAe9bvTLN4J0l-dz4L8&index=1 Reading and watching video series about XSS Wrote my own JS…

19m

Made my API display its data to the DOM and therefore in a functioning page Designed a dashboard, a login component in Sketch and then coded the login into a fully responsive and light/dark toggle swi…

15m

Spent all day trying to write a script to fix the line break problem, but found you could achieve the result with one line of CSS! Good old Stack Overflow to the rescue! white-space: pre-wrap; https:/…

15m

Decided to knock the official course on the top of of the head for a bit and write some little challenges that I found here: https://gomakethings.com/vanilla-js-projects-for-total-beginners/ First up,…

18m