Javsacript split string pada posisi

let hey="helloworld";
let index=5;
hey.substring(0, index);//hello
hey.substring(index);//world
Friendly Hawk