DEV Community

Discussion on: Function Hoisting ✨

Collapse
z00md profile image
z00md

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?