attributes not allowed on a interface?

Eric Suen eric.suen.tech at gmail.com
Tue Apr 22 08:17:02 PDT 2008


Hi,

Since attributes not allowed on a interface, for W3C Node interface:

interface Node {
  const unsigned short ELEMENT_NODE = 1;
}

what is the same statement in EcmaScript 4? I don't see the point
why static const attributes is not allowed on a interface?

Regards

Eric





More information about the Es4-discuss mailing list