convert null values

Eugen.Konkov at aldec.com Eugen.Konkov at aldec.com
Thu Oct 11 07:21:16 PDT 2007


When convert null to string it is better to return empty string then 'null' string;

var a= null;
var b= '';
b= 'test' + a; //b == 'testnull'; EXPECTED: b == 'test'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.mozilla.org/pipermail/es-discuss/attachments/20071011/908371f4/attachment-0002.html 


More information about the Es4-discuss mailing list