title: Javascript on window resize end
body: <p>I am calling a function when the window is resized like this:</p>
  
  <pre><code>window.addEventListener("resize", calculateDimensions());
  </code></pre>
  
  <p>But I need a way to call a different function AFTER the window has been resized.
  Is there any way to achieve this using native js (not jquery)</p>
  
  <p>TIA</p>