in javascript create a function that does the following and named as such, please dont copy the already answered question of this in the incorrect manner
thank you!!
This function takes a list of elements xs and an integer n. The function groups every n elements in xs as a list and returns a list of those groups. Each group in the resulting list will therefore be of length n, with the possible exception of the final group. The final group must be non-empty.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here