title: How do I select ALL objects on canvas one by one with fabric js?
body: <p>How would the code look like to select all objects currently on a canvas one by one using fabric js. I am trying to list the attributes of each object one by one without knowing how many objects (if any) will be on the canvas.</p>
  
  <p>For clarification:</p>
  
  <p>Here is a <a href="https://jsfiddle.net/3bxLmwzk/" rel="nofollow noreferrer">https://jsfiddle.net/3bxLmwzk/</a></p>
  
  <pre><code>var canvas = new fabric.Canvas('canvas');
  
  canvas.add(new fabric.Text('hdgh', { 
      left: 20,
      top: 30, 
      fontFamily: 'Comic Sans MS',
      fontSize: 35
  }));
  
  canvas.add(new fabric.Text('foo', { 
    fontFamily: 'Roboto', 
    left: 100, 
    top: 100,
    fontSize: 25
  }));
  
  canvas.add(new fabric.Text('f776h', { 
    fontFamily: 'Arial', 
    left: 200, 
    top: 200,
    fontSize: 25
  }));
  </code></pre>
  
  <p>that has 3 objects... Is there a way I can print on the console log (text, fontFamily, and fontSize) of each text object)</p>
  
  <p>1 object - 'hdgh' ; Comic Sans MS ; 35
  2 object - 'foo' ; Roboto ; 25
  3 object - 'f776h' ; Arial ; 25</p>