2010-09-22 03:58:05 +00:00
|
|
|
var _ref, _result, age, ages, child, yearsOld;
|
2010-07-29 04:51:35 +00:00
|
|
|
var __hasProp = Object.prototype.hasOwnProperty;
|
|
|
|
yearsOld = {
|
|
|
|
max: 10,
|
|
|
|
ida: 9,
|
|
|
|
tim: 11
|
|
|
|
};
|
|
|
|
ages = (function() {
|
2010-09-22 03:58:05 +00:00
|
|
|
_result = []; _ref = yearsOld;
|
|
|
|
for (child in _ref) {
|
|
|
|
if (!__hasProp.call(_ref, child)) continue;
|
|
|
|
age = _ref[child];
|
|
|
|
_result.push(child + " is " + age);
|
2010-07-29 04:51:35 +00:00
|
|
|
}
|
2010-09-22 03:58:05 +00:00
|
|
|
return _result;
|
2010-07-29 04:51:35 +00:00
|
|
|
})();
|