Ver Mensaje Individual
  #3 (permalink)  
Antiguo 16/10/2006, 12:39
Avatar de SiR.CARAJ0DIDA
SiR.CARAJ0DIDA
 
Fecha de Ingreso: junio-2004
Ubicación: Acá
Mensajes: 1.166
Antigüedad: 19 años, 10 meses
Puntos: 4
Código:
a={as:1,b:333}  <- objeto
b=document.createElement("div");  <- objeto
c=window.event  <- objeto en IE

x=[1,3,4,5,56]  <-- array
y= new Array();
y["asas"]=3214243;  <-- array

alert(a instanceof Object);
alert(b instanceof HTMLDivElement); // no anda en IE
alert(x instanceof Array);
alert(y instanceof Array);
__________________
Internet Explorer SuckS
Download FireFox