Please do not place screenshot of code, plain text please.
What does challenge wants? you may please share the link of challenge too?
My bad I have added blur to the image
Looks like you did it right, It’s not about cheating. Challenge wanted to test you as you know usage and result of splice function.
Good enough for me so, thanks for your time, advice, and responses.