title: Converting plain JavaScript object to an instance of a class
body: <p>While reading Angular's documentation about &quot;<a href="https://angular.io/guide/http#intercepting-all-requests-or-responses" rel="nofollow noreferrer">Communicating with backend services using HTTP</a>&quot; I've encountered the following statement at the &quot;<a href="https://angular.io/guide/http#requesting-a-typed-response" rel="nofollow noreferrer">Requesting a typed response</a>&quot; section:</p>
  <blockquote>
  <p>...because the response is a plain object that cannot be automatically
  converted to an instance of a class</p>
  </blockquote>
  <p>So, my question is what does it mean to <em>convert plain object to an instance of a class</em>?</p>