This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
"extends" is a reserved word in JavaScript and illegal in strict mode. Thus it is inconvenient to access the HTMLElementElement.extends attribute from JavaScript. Consider using a different name.
Isn't it only illegal as a variable? I think it still totally works as an property name: http://jsfiddle.net/pQa2w/
Property names are using the IdentifierName production which allows reserved keywords: Identifier :: IdentifierName but not ReservedWord IdentifierName :: IdentifierStart IdentifierName IdentifierPart Other productions, like variable bindings and function name bindings uses the Identifier production which may not include reserved keywords.