I have a large array that I need to divide into smaller arrays in order to improve performance. The current array looks like this:
var callUrls = ['url1','url2','url3','url4','url5','url6','url7','url8','url9','url10'];
I would like to split it into two arrays like this:
var callUrls = [
[url1, url2, url3, url4, url5],
[url6, url7, url8, url9, url10]
];
Can anyone provide guidance on how to achieve this in JavaScript? Thank you in advance.