Built with from Grav and Hugo
const array = 'hello world'; const result = array.slice(0,5); console.log(result); // hello
const array = ['h','e','l','l','o']; const result = array.splice(0, 3); console.log(result); // hel