re: What do you dislike about your favorite language? VIEW POST

VIEW FULL DISCUSSION
 

number.toFixed(x) will return a STRING in Javascript. Omg that’s nuts!

 

?!
Granted that its goal is to provide a representation with a fixed amount of decimals, what would you use instead of a string?

code of conduct - report abuse