Commit Graph

5 Commits

Author SHA1 Message Date
alexlamsl
eec9a4b5fd tweak test case 2017-04-04 03:03:21 +08:00
alexlamsl
b78f0554a3 improve tests 2017-04-04 02:51:23 +08:00
alexlamsl
dd3bde86de exclude mangling of special property names
- `null`
- `true`
- `false`
- numeric literals
2017-04-04 01:35:58 +08:00
Alex Lam S.L
48b3fe9952 fix mangleProperties on identifiers (#1776)
- fix handling of "-Infinity"
- add test case for "-0"

reverts #1481
2017-04-03 23:17:47 +08:00
Alex Lam S.L
59a4e56bc8 fix mangleProperties of undefined & Infinity (#1772)
`NaN` already works by the happy accident of `Number.NaN`

fixes #1770
2017-04-03 12:31:05 +08:00