Slice the string

Report a typo

What is the output of the following code?

let userStr = "Web development is evolving rapidly.";
let startIndex = 10;
let endIndex = -10;
let slicedStr = userStr.slice(startIndex, endIndex);
console.log(slicedStr);
Select one option from the list
___

Create a free account to access the full topic