string dividida com base no comprimento em javascript

"123456789".match(/.{1,2}/g);
// Results in:
["12", "34", "56", "78", "9"]
Wide-eyed Wolf