mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-11 01:34:55 -06:00
better output for **= operator
This commit is contained in:
parent
a2876aa8fd
commit
fd23fea47c
@ -36,8 +36,8 @@ function fn1(x2) {
|
||||
}
|
||||
// property accesses
|
||||
var x3;
|
||||
(_a = x3, _a.a = Math.pow(_a.a, value));
|
||||
(_b = x3, _b['a'] = Math.pow(_b['a'], value));
|
||||
(_a = x3).a = Math.pow(_a.a, value);
|
||||
(_b = x3)[_c = 'a'] = Math.pow(_b[_c], value);
|
||||
// parentheses, the contained expression is reference
|
||||
(x1) = Math.pow((x1), value);
|
||||
function fn2(x4) {
|
||||
@ -45,4 +45,4 @@ function fn2(x4) {
|
||||
}
|
||||
(x3.a) = Math.pow((x3.a), value);
|
||||
(x3['a']) = Math.pow((x3['a']), value);
|
||||
var _a, _b;
|
||||
var _a, _b, _c;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user