Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fc776cc

Browse files
author
Mauricio Paternina
committed
Fix arguments for .slice method
1 parent 2ace0d3 commit fc776cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

playground/arrays-FINISHED.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
// // numbers.reverse();
8484
// console.log(numbers);
8585
// // Immutable - THEY DO NOT CHANGE THE ORIGINAL DATA
86-
// const pizzaSlice = numbers.slice(2, 4);
86+
// const pizzaSlice = numbers.slice(2, 5);
8787
// console.log(pizzaSlice);
8888
// console.log(numbers);
8989

0 commit comments

Comments
 (0)