I was wondering what would be the best way to split an array into two different arrays using JavaScript, but to keep it in the realms of functional programming.I was wondering what would be the best way to s
I was wondering what would be the best way to split an array into two different arrays using JavaScript, but to keep it in the realms of functional programming.I was wondering what would be the best way to s