#2
// .slice returns a shallow copy of "substring" of elements in an Array
// .splice removes elements from elements at an index and can insert as well
#3
This is a bit of a trick question and depends on what you're looking for, and @avalander
went into a lot of detail for this
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
#2
// .slice returns a shallow copy of "substring" of elements in an Array
// .splice removes elements from elements at an index and can insert as well
#3
This is a bit of a trick question and depends on what you're looking for, and @avalander went into a lot of detail for this