I want to transform this array into this format
[1,2,3,4,5,6,7,8,9]
to this format
[[1,2],[3,4],[5,6],[7,8],[9]]
Is it possible to implement this idea in JavaScript?
thx .