DEV Community

Discussion on: Image Slider with JavaScript

Collapse
 
j471n profile image
Jatin Sharma

No, there is no reason at all. You can use either function definition or the const one.