aboutsummaryrefslogtreecommitdiff
path: root/test/compress/hoist_props.js
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2019-12-28 20:26:15 +0000
committerGitHub <noreply@github.com>2019-12-28 20:26:15 +0000
commitd9cd3d33c8f2b769da922d355373d466f8b30704 (patch)
tree095c4497bfeaacb24437c950e685df180645687c /test/compress/hoist_props.js
parent22b47cdd639263313317b77a3166afad767a7ef6 (diff)
downloadtracifyjs-d9cd3d33c8f2b769da922d355373d466f8b30704.tar.gz
tracifyjs-d9cd3d33c8f2b769da922d355373d466f8b30704.zip
enhance `evaluate` (#3649)
Diffstat (limited to 'test/compress/hoist_props.js')
-rw-r--r--test/compress/hoist_props.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/compress/hoist_props.js b/test/compress/hoist_props.js
index 0d8e771a..c647ccc1 100644
--- a/test/compress/hoist_props.js
+++ b/test/compress/hoist_props.js
@@ -664,7 +664,7 @@ issue_2519: {
}
expect: {
function testFunc() {
- return 1 * ((6 + 5) / 2);
+ return +((6 + 5) / 2);
}
console.log(testFunc());
}