r/ProgrammerHumor • • May 20 '22

Meme Found Reddit video player source code

Post image
42.9k Upvotes

533 comments sorted by

View all comments

1

u/Thenderick May 20 '22

I still don't understand what the difference is between function x(){} and const x = function(){}... Can someone explain?

0

u/[deleted] May 20 '22

[deleted]

1

u/Thenderick May 20 '22

Oh that makes sense. I thought it had something to do with scoping/hoisting but don't know for sure

→ More replies (1)