Cameron McCormack: > You can require a certain [[Class]] value at the moment with Web IDL, if > you use the [PrototypeRoot] extended attribute.
And I forgot to mention that since the Object prototype object is required to be in the prototype chain, that its toString would give the “[class X]” stringification. -- Cameron McCormack ≝ http://mcc.id.au/