Looking for a way to dynamically generate and assign variable names to objects in javascript, I found this post on creating a sort of variable variable in Javascript. Reading the post itself, I found the answer to my immediate question. However upon reading the comments, I feel like I had a moment of clarity in my understanding of the truly awesome power of javascript, dot notation, and prototype. Why is javascript so underestimated? I see this changing in the very near future...
http://www.i-marco.nl/weblog/archive/2007/06/14/variable_variables_in_javascri
Javascript Variable Variables
Posted by
sarahbee
on Friday, August 7, 2009
Labels:
javascript,
object-oriented,
prototype,
variables
0 comments:
Post a Comment