I load object of my canvas with this function
var objects = canvas.getObjects();
But when I try to read the array is empty but so weird in the browserconsole appears like this
Array[0]
0: klass
1: klass
length: 2
__proto__: Array[0]
In my other function to resize canvas the array appears with all the objects I dont why is this happening