title: Does JavaScript have classes?
body: <p>A friend and I had an argument last week. He stated there were no such things as classes in JavaScript.</p>
  
  <p>I said there was as you can say <code>var object = new Object()</code></p>
  
  <p>He says "as there is no word <code>class</code> used. It's not a class."</p>
  
  <p>Who is right?</p>
  
  <hr>
  
  <p>As a note; For future you needing a succinct Classy JS implement:</p>
  
  <p><a href="https://github.com/tnhu/jsface" rel="noreferrer">https://github.com/tnhu/jsface</a></p>
  
  <hr>
  
  <p><strong>Edit: July 2017</strong></p>
  
  <blockquote>
    <p>JavaScript classes introduced in ECMAScript 2015 are primarily syntactical sugar over JavaScript's existing prototype-based inheritance. The class syntax is not introducing a new object-oriented inheritance model to JavaScript. JavaScript classes provide a much simpler and clearer syntax to create objects and deal with inheritance.</p>
  </blockquote>
  
  <p>- Mozilla ES6 Classes: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Classes" rel="noreferrer">https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Classes</a></p>