title: Avoid serving legacy JavaScript to modern browsers
body: <p>We are testing our website using google page speed. The link is: <a href="https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fwww.efacility.in%2F" rel="nofollow noreferrer">https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fwww.efacility.in%2F</a></p>
  <p>In this section 'Avoid serving legacy JavaScript to modern browsers' we are getting errors for the following.</p>
  <ol>
  <li>Array.prototype.filter</li>
  <li>Date.now</li>
  <li>@babel/plugin-transform-classes</li>
  </ol>
  <p>For 1 we noted that we need to use filter method as in this <a href="https://forum.freecodecamp.org/t/how-to-use-javascript-array-prototype-filter-filter-explained-with-examples/14289" rel="nofollow noreferrer">link</a>. Please suggest how to provide the fix for the issues in 2 and 3.</p>
  <p>Thanks</p>