console.log( range(0, 10).reverse().map( function (x) { return x; } ).join('\n') );