Although you cannot request the class of a particular object, you can probably establish what class it belongs to with the typeof operator.
This keyword also represents a Java object type and the class keyword allows for the potential extension of JavaScript interfaces to access Java applet parameters and return values.
| See also: | Class, Internal Property, java.lang.Class, LiveConnect, Reserved word, typeof |
ECMA 262 edition 2 - section - 7.4.3
ECMA 262 edition 2 - section - 11.4.3
ECMA 262 edition 3 - section - 7.5.3
ECMA 262 edition 3 - section - 11.4.3
| Prev | Home | Next |
| Class | Up | Class method |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. | ||