-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Description
Hi!
var xs = [ 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i' ];
console.log(xs.slice(2, 3));
console.log(xs.slice(2));
There's an issue with the example provided above, it says it will print,
[ 'c', 'd', 'e' ]
[ 'c', 'd', 'e', 'f', 'g', 'h', 'i' ]
but it prints
['c'],
['c', 'd', 'e', 'f', 'g', 'h', 'i']
so the first part is wrong.
Thank you for the workshop.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels