Re: "enum" is a reserved word in JScript
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: "enum" is a reserved word in JScript

From: Michael Winter <m.winter@blueyonder.co.uk>
Date: Mon Nov 28 2005 - 19:50:38 CET

On 28/11/2005 18:08, VK wrote:

> Just to realease my frustration:
>
> innocent "enum" is a reserved word in JScript!

That doesn't really come as a surprise. It's a future reserved word in
ECMAScript, too.

Perhaps your might want to refresh your memory of sections 7.5.2 and
7.5.3, as well as
<http://msdn.microsoft.com/library/en-us/script56/html/js56jsconreserved.asp>.
Alternatively, use a syntax highlighting editor that automatically marks
all of these.

[snip]

> Maybe someone has her/his collection of "undocumented reserved words"
> for JavaScript / JScript?

Other than properties that are clearly part of browser object models
(like document, etc.), what undocumented reserved words have you ever
come across? I don't recall any at the moment.

[snip]

Mike

-- 
Michael Winter
Prefix subject with [News] before replying by e-mail.
Received on Sat Dec 3 04:31:57 2005