Commit Graph

2 Commits

Author SHA1 Message Date
alexlamsl
af0a5fb20d augment evaluate to extract within objects
- gated by `unsafe`
- replaces previous optimisation specific to String.length
- "123"[0] => 1
- [1, 2, 3][0] => 1
- [1, 2, 3].length => 3
- does not apply to objects with overridden prototype functions
2017-01-20 13:21:04 +08:00
alexlamsl
4761d07e0b Optimize unmodified variables 2016-10-01 11:36:11 +02:00