collect all values from the variable in javascript : `var collectionsd` returns in console log like 

    [5.2140564, 52.3705452]
    [5.2180339, 52.3363171]
    [5.2424313, 52.3595914]
    [5.2739435, 52.388464]
    [5.2368864, 52.336711]
  In frontend shows only `[5.2368864, 52.336711]` i need to like below in javascript

var collectionsd = [[5.2140564, 52.3705452],[5.2180339, 52.3363171],[5.2424313, 52.3595914],[5.2739435, 52.388464],[5.2368864, 52.336711]];

    
    
    
    