|
|
@ -17,7 +17,7 @@
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// const foo = digits[0..1]; // 0
|
|
|
|
// const foo = digits[0..1]; // 0
|
|
|
|
// const bar = digits[3..9]; // 3 4 5 6 7 8
|
|
|
|
// const bar = digits[3..9]; // 3 4 5 6 7 8
|
|
|
|
// const bar = digits[5..9]; // 5 6 7 8
|
|
|
|
// const baz = digits[5..9]; // 5 6 7 8
|
|
|
|
// const all = digits[0..]; // 0 1 2 3 4 5 6 7 8 9
|
|
|
|
// const all = digits[0..]; // 0 1 2 3 4 5 6 7 8 9
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// As you can see, a slice [x..y] starts with the index of the
|
|
|
|
// As you can see, a slice [x..y] starts with the index of the
|
|
|
|