Difference In Declaring Functions Js

Of function definitions in JavaScript if you're unsure about the difference.

By having a difference in functions, you can enable autoscale