Created
December 13, 2020 06:25
-
-
Save bhushangoel/9b4a64216fc47d631e026355037d0cac to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let arr = [1,2,3,4,5]; | |
console.log(arr.slice(1)); // [2,3,4,5] | |
console.log(arr); // [1,2,3,4,5] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment