Answers for "str.substring(3) and str.substring(3,4)"

13

substring

const str = 'Mozilla';

console.log(str.substring(1, 3));
// expected output: "oz"

console.log(str.substring(2));
// expected output: "zilla"
Posted by: Guest on February-06-2020

Code answers related to "str.substring(3) and str.substring(3,4)"

Code answers related to "Javascript"

Browse Popular Code Answers by Language