Constant confusion: why I still use JavaScript function statements

Constant confusion: why I still use JavaScript function statements - Free Code Camp

Constant confusion: why I still use JavaScript function statements Back in the late 90's - when I learned JavaScript - we were taught to write the "Hello World" function using a function statement. Like this... function helloWorld() { return 'Hello World!';} These days it seems all the cool kids are writing the "Hello World" function like this...

freecodecamp.com