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);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);Create a free account to access the full topic