jashkenas--coffeescript/documentation/js/splices.js

6 lines
152 B
JavaScript
Raw Normal View History

2010-01-05 03:19:45 +00:00
(function(){
var numbers;
numbers = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9];
numbers.splice.apply(numbers, [3, 6 - 3 + 1].concat([-3, -4, -5, -6]));
2010-02-24 23:27:10 +00:00
})();