PageRenderTime 46ms CodeModel.GetById 42ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/documentation/js/slices.js

http://github.com/jashkenas/coffee-script
JavaScript | 12 lines | 6 code | 5 blank | 1 comment | 0 complexity | fd7beced695f1aa9cce17cb55a28dcde MD5 | raw file
 1// Generated by CoffeeScript 1.10.0
 2var copy, end, middle, numbers, start;
 3
 4numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9];
 5
 6start = numbers.slice(0, 3);
 7
 8middle = numbers.slice(3, -2);
 9
10end = numbers.slice(-2);
11
12copy = numbers.slice(0);