mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
* Optimize away `|> #` pipes * Inline topic token when it's used once and there are no side effects * Fix deferred topic evaluation * Update standalone tests
4 lines
117 B
JavaScript
4 lines
117 B
JavaScript
const program = '(function() { return this; })()';
|
|
const result = eval(program);
|
|
expect(result).not.toBeUndefined();
|