I have this array
var array = [4,5,7,80,4,52,15,5];
and I want to convert it to this format
[ [[2.0924907914914139, 2.3946516145034309], 1], [[2.4682273904177849, 1.6516482666336787], 1], [[1.9754558657999959, 1.9355779157529831], 1], [[2.082637117528451, 2.1142405395800332], 1] ]
therefore it would be:
[ [[4, 5], 1], [[7, 80], 1], [[4, 52], 1], [[15, 5], 1] ]
can this type of data be inserted into an array, I mean insert an integer and an array?