The tables below show some common types of objects and what they appear to be via different mechanisms in your browser:
** NO JavaScript Enabled **
Object / Code | typeof a |
a.toString() |
Expected instanceof |
---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Object / Code | typeof a |
a.toString() |
Expected instanceof |
---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Object / Code | typeof a |
a.toString() |
Expected instanceof |
---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Object / Code | typeof a |
a.toString() |
Expected instanceof |
---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Object / Code | typeof a |
a.toString() |
Expected instanceof |
---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|