Difference between using `const` and `function` to declare a function - SolidJS