Default value of JS window object

Koos Vriezen koos.vriezen at xs4all.nl
Fri Jul 5 15:27:56 BST 2002


Hi,

There is still a problem with JS code '"" + window'. It shows 'WARNING:
Script threw exception: TypeError: No default value' at the console.
Doing 'alert(window)' correctly shows '[object Window]'.
Other objects than window/frame, do return a '[object XXX]' when doing a
'"" + object'.

Regards,

Koos Vriezen





More information about the kfm-devel mailing list