title: Arrow function vs Class methods memory footprint
body: <p>I was reading about arrow functions (in typescript context). And I came across this line.</p>
  
  <blockquote>
    <p>arrow function is created per object of type Handler. Methods, on the other hand, are only created once and attached to Handler's prototype. They are shared between all objects of type Handler.</p>
  </blockquote>
  
  <p>Source : <a href="https://www.typescriptlang.org/docs/handbook/functions.html" rel="nofollow noreferrer">https://www.typescriptlang.org/docs/handbook/functions.html</a></p>
  
  <p>I am unable to understand. Please answer if anyone can explain. </p>