const animals = ['ant', 'bison', 'camel', 'duck', 'elephant'];

console.log(animals.slice(2));
// expected output: Array ["camel", "duck", "elephant"]

console.log(animals.slice(2, 4));
// expected output: Array ["camel", "duck"]

console.log(animals.slice(1, 5));
// expected output: Array ["bison", "camel", "duck", "elephant"]

console.log(animals.slice(-2));
// expected output: Array ["duck", "elephant"]

console.log(animals.slice(2, -1));
// expected output: Array ["camel", "duck"]

@@ -463,28 +463,131 @@
 ut: Array %5B%22camel%22, %22duck%22%5D%0A
+%0Aconsole.log(animals.slice());%0A// expected output: Array %5B%22ant%22, %22bison%22, %22camel%22, %22duck%22, %22elephant%22%5D%0A

Add an example of slice without arguments (#1992)