var o = {a:1, b:34, c:352} //итд. function s(obj) { for(key in obj) { obj[key]+? //..... kak tut? } } s(o)