substring

PHOTO EMBED

Mon Oct 31 2022 00:07:49 GMT+0000 (Coordinated Universal Time)

Saved by @davidmchale #substring

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

function skipFirstCharacter(text) {
return text.substring(1)
}

console.log(skipFirstCharacter("code")); // "code"
content_copyCOPY