DEV Community

Discussion on: Function Hoisting ✨

Collapse
 
amt8u profile image
amt8u

Just curious : Why there are two ways to declare functions? We can achieve everything with function expressions. Whats the use case for having function declarations?