function callbackfn(v) { gczeal(4); return arr[0] + (Uint8ClampedArray); } arr = [1,2,3,4,5]; arr = arr.map(callbackfn);