title: Calculate bounding box width and height from given coordinates(x,y)
body: <p>I have a list of coordinates</p>
  <pre><code>const coords = [{x:10, y:20}, {x:5, y:6}, {x:1, y:25}, {x:11, y:2}];
  </code></pre>
  <p>And I am wondering is there a way to calculate bounding box width and height having only these coordinates?</p>