Javascript Sucks, Part 1

Filed under: javascript 

Javascript lacks string interpolation of any sort.

Python:

s = "%0.2f" % floatN

PHP:

$s = sprintf ( "%0.2f", $floatN );

C:

sprintf ( s, "%0.2f", floatN );

Javascript:

Go find a library.

How the hell did this language make it out of the dumpster?



1 comments Leave a comment