fix issues in tests flagged by LGTM (#5150)

This commit is contained in:
Alex Lam S.L
2021-10-21 02:07:23 +08:00
committed by GitHub
parent 03aec89f60
commit 32ae994f88
10 changed files with 12 additions and 16 deletions

View File

@@ -1,7 +1,5 @@
// (beautified)
console.log(function() {
return 1 + .1 + .1;
}());
console.log(1 + .1 + .1);
// output: 1.2000000000000002
//
// minify: 1.2