Ver Mensaje Individual
  #2 (permalink)  
Antiguo 10/05/2013, 21:57
Avatar de ggomez91
ggomez91
 
Fecha de Ingreso: octubre-2008
Mensajes: 181
Antigüedad: 15 años, 7 meses
Puntos: 13
Respuesta: Arreglos heterogéneos

Hum... No sé si no entendí pero suena muy sencillo

Código Javascript:
Ver original
  1. var array = [];
  2. array.push(123);
  3. array.push(true);
  4. array.push("queso");
  5. array.push({"tipoQueso": "manchego", edad: 10})