On Tue, Mar 1, 2011 at 3:17 PM, Eric Uhrhane <[email protected]> wrote: >> Maybe disallow nulls; I'm not sure if this is special enough to >> actually need to be in this set. > > I like it, though, as allowing nulls in strings is likely to lead to user > error.
In my experience, most of the errors surrounding nulls are related to null-terminated strings, which doesn't apply in JS. I'm not bothered much either way, though: no real systems support nulls in filenames (since it would break just about all C APIs), so disallowing it won't break anything. -- Glenn Maynard
