Trabajando con subcadena

const language = "JavaScript";
language.substring(1, 4); //"ava"
Anthony Smith