Given a simple zero based, numerically indexed array:
var list = [\'Foo\', \'Bar\', \'Baz\'];
Many times, I have noticed that when someone
Add list.foo = bar; and try to use simple for. If you don't use some libraries(like prototypeJs) and don't add any new properties to array object - you can use simple for-statement.
list.foo = bar;
for