Fix UpdateExpression handling in es2015-modules-commonjs, resolve #4462
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
export { yy, zz };
|
||||
|
||||
var yy = 0;
|
||||
var zz = yy++;
|
||||
@@ -0,0 +1,11 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.yy = yy;
|
||||
exports.zz = zz;
|
||||
|
||||
|
||||
var yy = 0;
|
||||
var zz = (exports.yy = yy += 1, yy - 1);
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"presets": ["es2015"]
|
||||
}
|
||||
Reference in New Issue
Block a user