one line list comprehension in js
var f = [].concat((function(){var arr = [];for(var i=0;i<5;i++){arr.push(i);}return arr;})());