JS String Methods - Exercise 2
Implement the slice method for returning the word “apples”.
let txt = "I eat apples the whole day"; let x = txt.slice(,);
Implement the slice method for returning the word “apples”.
let txt = "I eat apples the whole day"; let x = txt.slice(,);