ARROW FUNCTIONS vs FUNCTION EXPRESSIONS vs FUNCTION DECLARATIONS (BYTE CODE)| Advanced JavaScript

Published: 09 August 2021
on channel: Chris Hay
1,929
76

This video is a full deep dive into Function Declarations, Function Expressions and Arrow Functions work both at a usage level and underneath the hood at a byte code level. As well as looking at the differences in usage (such as hositing), this video also looks at named functions, inferred name functions and anonymous functions. You will have a deep understanding of how functions work underneath the hood and how they differ in the generated byte code. There are of course some considersations in the usage of arrow functions and naming which include naming collisions and debugging experience that should be considered also. We look at some of the gotchas in using arrow functions such as binding, and how usage of the this keyword changes (especially impactful for objects). You will gain a deep understanding of these ES6/ES2015+ features.


On this page of the site you can watch the video online ARROW FUNCTIONS vs FUNCTION EXPRESSIONS vs FUNCTION DECLARATIONS (BYTE CODE)| Advanced JavaScript with a duration of hours minute second in good quality, which was uploaded by the user Chris Hay 09 August 2021, share the link with friends and acquaintances, this video has already been watched 1,929 times on youtube and it was liked by 76 viewers. Enjoy your viewing!