W3C home > Mailing lists > Public > public-script-coord@w3.org > April to June 2011

[Bug 12798] Default to [TreatNullAs=EmptyString]

From: <bugzilla@jessica.w3.org>
Date: Mon, 13 Jun 2011 20:24:51 +0000
To: public-script-coord@w3.org
Message-Id: <E1QWDgp-0002v3-5U@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12798

--- Comment #7 from Jonas Sicking <jonas@sicking.cc> 2011-06-13 20:24:43 UTC ---
Any JS APIs which operate on strings will convert null to "null". For example

a = "foo" + null;  // a = "foonull"

People that are more familiar with the standard JS API can probably come up
with many more examples.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Monday, 13 June 2011 20:24:52 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:03 UTC