Subj : Seeking clarification on effect of literal vs. object syntax. To : netscape.public.mozilla.jseng From : Christopher M. Balz Date : Thu Aug 25 2005 11:55 am I cannot find information on the interpretation of variables defined to object values through a literal syntax vs. the interpretation of variables defined via constructor invocations. Specifically, does an array defined with literal notation ('[]') remain a literal throughout program execution, always having to be wrapped in an object on the fly? If that is the case, that would be much slower than defining the array with 'new Array()'. If that is not the case, then what was the rationale behind providing the literal notation in the language? Thank you, Chris Balz. Christopher M Balz http://treelogic-swe.com 160 Lincoln Avenue, Palo Alto, CA 94301-2437, USA (h) 650.327.0367 / (w) (001) 408.376.4820 cbalz@andrew.cmu.edu christophermbalz@stanfordalumni.org chris@treelogic-swe.com ". . . / This Cabinet is formd of Gold / And Pearl & Crystal shining bright And within it opens into a World / . . . Another England there I saw / Another London with its Tower Another Thames & other Hills / And another pleasant Surrey Bower . . ." - from "The Crystal Cabinet", a poem by William Blake. .