Alex Lam S.L
|
8da3754e51
|
improve evaluate on typeof (#2550)
- gated through `typeofs`
|
2017-12-02 02:18:33 +08:00 |
|
Alex Lam S.L
|
09b320e8a5
|
convert to number under boolean context (#2545)
|
2017-12-01 12:52:36 +08:00 |
|
Alex Lam S.L
|
6e86ee950d
|
fix typeof side-effects (#1669)
`has_side_effects()` does not take `typeof`'s magical power of not tripping over undeclared variable into account.
fixes #1668
|
2017-03-25 17:40:18 +08:00 |
|
Alex Lam S.L
|
858e6c78a4
|
warn & drop #__PURE__ iff IIFE is dropped (#1511)
- consolidate `side-effects` optimisations
- improve string `+` optimisation
- enhance literal & `conditionals` optimisations
|
2017-02-28 02:25:44 +08:00 |
|
kzc
|
fc9804b909
|
Fix (typeof side_effect()) in boolean context
Fixes #1289 with suggestion by @rvanvelzen
|
2016-10-06 13:50:11 +02:00 |
|
Roman Bataev
|
b956e5f1d9
|
Add tests for typeof evaluation
|
2013-04-03 22:34:19 -04:00 |
|