Menu
×
×
Correct!
Exercise:Use the slice method to return the word "bananas".
let txt = "I can eat bananas all day";
let x = txt.slice(@(3), @(2));
let txt = "I can eat bananas all day";
let x = txt.slice( 10, 17);
let txt = "I can eat bananas all day";
let x = txt.slice(10 , 17);
let txt = "I can eat bananas all day";
let x = txt.slice(-15, -8);
let txt = "I can eat bananas all day";
let x = txt.slice(10, 17);
Not CorrectClick here to try again. Correct!Next ❯ |
This will reset the score of ALL 67 exercises.
Are you sure you want to continue?