![]() The function should return a new array with the elements starting at the index of the first number and going until the index of the second number. Write a function called slice, which accepts an array, and two numbers. I think I'm over thinking a lot of things, but I need help, I'm new at this and I'm close to crying! Haha! Sorry about the backticks idk how to format codeblocks sorry! This is Javascript btw!! In my coding class I have a homework question that I'm stuck on!
0 Comments
Leave a Reply. |