Node.js examples for Array:Array Operation
Create an array within a range
var helper = {//w w w . j ava 2s . c o m range: function(min, max) { var res = []; for(var i = min; i < max; i++) { res.push(i); } return res; },