Darryl wrote:
> And sometimes theres weird syntax errors:
>
> 5.prototype //parse error
Just put a space before the dot if you want to get a property of the wrapper of
the number 5:
5 .property
There are other, about equally useful scenarios where you need to insert spaces
to lex tokens the way you want:
x//regexp/
should be expressed as:
x/ /regexp/
so it doesn't look like a comment.
Waldemar
_______________________________________________
Es4-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es4-discuss