On H.24/03/08, at 12:39, DX Jin <[email protected]> wrote:

> (0).toExponential(1) should, according to the algorithm in 15.7.4.6, return 
> "0e+0".
> 
> But all browser implementations return "0.0e+0" instead.
> 
> Which is wrong? The specification or the implementations?

Neither, the result is correct. The number is the same, just different 
representations as strings.
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to