2010-12-16 02:11:43 +00:00
|
|
|
var age, ages, child, yearsOld;
|
2011-09-21 03:42:19 +00:00
|
|
|
|
2010-07-29 04:51:35 +00:00
|
|
|
yearsOld = {
|
|
|
|
max: 10,
|
|
|
|
ida: 9,
|
|
|
|
tim: 11
|
|
|
|
};
|
2011-09-21 03:42:19 +00:00
|
|
|
|
2010-12-23 20:41:42 +00:00
|
|
|
ages = (function() {
|
2010-12-16 02:11:43 +00:00
|
|
|
var _results;
|
2010-11-21 17:38:27 +00:00
|
|
|
_results = [];
|
2010-10-05 03:21:16 +00:00
|
|
|
for (child in yearsOld) {
|
|
|
|
age = yearsOld[child];
|
2011-06-08 23:38:12 +00:00
|
|
|
_results.push("" + child + " is " + age);
|
2010-07-29 04:51:35 +00:00
|
|
|
}
|
2010-11-21 17:38:27 +00:00
|
|
|
return _results;
|
2011-09-21 03:42:19 +00:00
|
|
|
})();
|