i new of javascript, have been told someone, said "speak strictly, javascript doesn't have multidimensional array , associative array ". in book, saw following
var my_cars=array(); my_cars["cool"]="mustang"; $a=array(array(0,1),2); so opinion form wrong? right?
javascript has arrays of whom elements can other arrays.
however, javascript has objects properties, not associative arrays.
[]betterarray(). also, why not instantiatearrayobject explicitly rely onarrayreturning new object?- the example setting property
coolonarray. - why
$asigil? why nonewoperator again?
Comments
Post a Comment