See? JS makes sense. Even though it's typeless, just assume it'll convert to some relevant type when something doesn't make sense and there's no error. This is essentially (quite literally) the to string method, so if other languages function fine with such then JS can too
View all comments
1
u/P0pu1arBr0ws3r Mar 21 '24
See? JS makes sense. Even though it's typeless, just assume it'll convert to some relevant type when something doesn't make sense and there's no error. This is essentially (quite literally) the to string method, so if other languages function fine with such then JS can too