title: Why Mozilla documentation is mentioning that JS does not have class statement?
body: <p>I was reading the <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/A_re-introduction_to_JavaScript" rel="nofollow noreferrer">introduction to JavaScript</a> from Mozilla and noticed that at the <em>Custom objects</em> section it is mentioned that JS does not have classes (<a href="https://github.com/mdn/content/blob/main/files/en-us/web/javascript/a_re-introduction_to_javascript/index.html#L762" rel="nofollow noreferrer">at this line on GitHub</a>):</p>
  <blockquote>
  <p>JavaScript is a prototype-based language that contains no class statement, as you'd find in C++ or Java (this is sometimes confusing for programmers accustomed to languages with a class statement). Instead, JavaScript uses functions as classes.</p>
  </blockquote>
  <p>Why is the documentation saying so when I saw definitely the <code>class</code> statement being used like on the <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes" rel="nofollow noreferrer">class section</a>?</p>
  <p>Am I missing something or is the documentation obsolete?</p>