How to cut the string aa_bb_cc into an array: ["aa", "bb_cc"]?

how do I cut the string aa_bb_cc into an array: ["aa", "bb_cc"]?

Mar.03,2021

let str = 'aa_bb_cc';
let arr = str.split('_',1);
str = str.slice(str.indexOf('_')+1);
arr.push(str);
console.log(arr);
Menu