black_viper,
var cas_place = {
monitor:[2,3, 'test', 'red'],
router:[1,5],
mfu:[1,3]
};
function foo(data, num) {
Object.keys(data).forEach(function(key) {
data[key].forEach(function(el,i) {
el == +el && (data[key][i] = el * num)
})
})
};
foo(cas_place, 5)
alert(JSON.stringify(cas_place))