Why ES2015 compiling but ES2016 Not?
<p>I am trying simple program to compile using babel + es2015 and es2016 preset + nodejs, problem is ES2016 is not compiling code and show same as created class.</p>

<p>Here is sample code of index.js</p>

<pre><code>'use strict';

var express = require('express')
var MyArray = require('./myarray')

const square = new MyArray(10, 10);

console.log(square.area);
</code></pre>

<p>And this is MyArray.js Class file :</p>

<pre><code>class MyArray {
  constructor(height, width) {
    this.height = height;
    this.width = width;
  }

  get area() {
    return this.calcArea();
  }

  calcArea() {
    return this.height * this.width;
  }
}
</code></pre>

<p>When i do compile this using ES2015 then this is result.</p>

<pre><code>"use strict";

var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i &lt; props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

/*
* @Author: Mandeep Singh Gill - thisismyaim@hotmail.com
* @Date:   2016-12-21 17:29:17
* @Last Modified by:   mandeepgill
* @Last Modified time: 2016-12-22 12:07:26
*/

var MyArray = function () {
  function MyArray(height, width) {
    _classCallCheck(this, MyArray);

    this.height = height;
    this.width = width;
  }

  _createClass(MyArray, [{
    key: "calcArea",
    value: function calcArea() {
      return this.height * this.width;
    }
  }, {
    key: "area",
    get: function get() {
      return this.calcArea();
    }
  }]);

  return MyArray;
}();
</code></pre>

<p>But when I use ES2016 it displays same MyArray.js code in MyArray Build Directory nothing changed why ?</p>