[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

classes of an object



if i declare a class of a navigator object, can i pass it to another 
function?

eg: i declare foo as a new class of the date object by means of "var foo 
= new Date". if i pass foo to another function, can i use foo's methods 
such as getDate and such in that other function?

and if the terminology is wrong here, i'd appreciate if someone would 
point this out.

thnx.
ju
--------------------------------------------------------------------
For help about the list, please send a message to 'majordomo@obscure.org'
with the message body 'help'. To unsubscribe, send a message to
'majordomo@obscure.org' with the message body 'unsubscribe javascript'.
List archives and pointer to FAQ: http://www.obscure.org/javascript/