-Differences between original js2-mode.el
-========================================
-
-Support for abbreviated destructuring assignments
--------------------------------------------------
-
- let {a, b} = {a: 10, b: 20}; // Abbreviated (Not supported in original js2-mode.el)
- let {a: a, b: b} = {a: 10, b: 20}; // Same as above (Supported in original js2-mode.el)
-
- (function ({responseText}) { /* */ })(xhr); // As the argument of function
-
-Support for expression closure in property value
-------------------------------------------------
-
- let worker = {
- get age() 20,
- get sex() "male",
- fire: function () _fire()
- };
-
-Supported more popular indentation style
-----------------------------------------
-
-When js2-consistent-level-indent-inner-bracket-p is non-nil
-
- [foo, bar, baz].forEach(function (v) {
- if (validate(v))
- process(v);
- });
-
- [a, b, c].some(function (v) {
- return validate(v);
- });