mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
20 lines
No EOL
371 B
JavaScript
20 lines
No EOL
371 B
JavaScript
(function(){
|
|
var __a, __b, __c, age, ages, child, years_old;
|
|
years_old = {
|
|
max: 10,
|
|
ida: 9,
|
|
tim: 11
|
|
};
|
|
ages = (function() {
|
|
__a = years_old;
|
|
__b = [];
|
|
for (child in __a) {
|
|
if (__a.hasOwnProperty(child)) {
|
|
age = __a[child];
|
|
__c = child + " is " + age;
|
|
__b.push(__c);
|
|
}
|
|
}
|
|
return __b;
|
|
})();
|
|
})(); |