197 B
197 B
//+ run
"use strict";
var salaries = {
"Вася": 100,
"Петя": 300,
"Даша": 250
};
var sum = 0;
for (var name in salaries) {
sum += salaries[name];
}
alert( sum );