That's what I said but, why not? I mean why wasn't that included in its scope? Like:
should return 'undefined' in browsers before try was instituted and 'reserved' or 'keyword' in browsers where try has been implemented. That way no reserving would ever be needed until a use for something was devised and implemented.Code:alert(typeof try);
I realize that this would open up legacy code to errors in modern browsers but, that is already the case. I just think reserving words is a sort of anal compulsion on the part of the language developers with no thought as to how it will effect code written both before and after the reserved word finds a use.




Reply With Quote

Bookmarks