var a = [1,2,3] var b = a.map(function(c) { return c+1 }) alert(b) var e = a.map(function(v) { return v + 'c' }) alert(e)