> Aankhen wrote:

> Speaking of JavaScript, any experienced JavaScript programmer will
> tell you that while semi-colons are in fact optional, you should
> always treat them as mandatory, to avoid subtle errors creeping into
> your code.

We should also note that the idea of omitting ';' is not as simple as
<"\n" always means ";\n">. In mentioned JavaScript language one can
do this:

<script>
var
x
=
123
alert
(
x
)
</script>

and that will work!

";\n" can almost always be converted into "\n" but not vice versa.


--
Andrew Shitov
______________________________________________________________________
[EMAIL PROTECTED] | http://www.shitov.ru

Reply via email to