understanding-es6
understanding-es6 copied to clipboard
lexical binding for arrow functions
I wrote out an example that demonstrates the benefit of lexical binding when using arrow functions versus using regular functions