Arrow Functions Have NO arguments?!

Arrow functions BREAK arguments! They don't have the arguments object. This will cause ReferenceError when you try to use it. Regular functions work, arrows don't!

#javascript #javascripttricks #arrowfunctions #argumentsobject #thisbinding #javascriptweird #javascriptquiz #codingchallenge #javascriptshorts #javascriptwtf #functiondifferences #advancedjavascript

https://www.youtube.com/watch?v=rckkbJzGLeE

Arrow Functions Have NO arguments?! #javascripttricks

YouTube

this Binding Changes in Arrow Functions?!

Arrow functions STEAL this! They don't have their own this binding. Regular functions use dynamic this, arrows use lexical this. This difference BREAKS code!

#javascript #javascripttricks #thisbinding #arrowfunctions #contextbinding #javascriptweird #javascriptquiz #codingchallenge #javascriptshorts #javascriptwtf #functioncontext #advancedjavascript

https://www.youtube.com/watch?v=VJlEG0-8qXY

this Binding Changes in Arrow Functions?! #javascriptshorts

YouTube