What is the best way to initialize an array with a particular value 0 in coffee script. What I have done so far - [0..100].map -> 0 And arr = [] arr.push(0) while arr.length isnt 100 If personally feel that the first one will have a poor performance and the second one is too verbose and destroys the charm of programming in coffee script. Update 2: Incase performance is not an issue then this is al