title: How can I use an object literal to make an instance of a class without useing the constructor in JavaScript ES6?
body: <p>I am trying to learn JavaScript ES6 which is a very cool language and I thought that I should practice a bit but I am not able to make <a href="http://marijnhaverbeke.nl/talks/es6_falsyvalues2015/exercises/#Fake_point" rel="nofollow noreferrer">an exercise</a>.
  So how can I use object literal to copy a class.</p>
  
  <p>For example the class is:</p>
  
  <pre><code>class Point {
    constructor(x, y) {
      this.x = x, this.y = y
    }
    add(other) {
      return new Point(this.x + other.x, this.y + other.y)
    }
  }
  </code></pre>
  
  <p>And I want to do something here using object literal to make the output true.</p>
  
  <pre><code>var fakePoint = YOUR_CODE_HERE
  console.log(fakePoint instanceof Point)
  </code></pre>