swc/ecmascript/codegen/tests/references/9db573299f02bf36.js
강동윤 7c58b89571
Scope analysis via ident hygiene (#74)
testing:
 - preserve context of the span in `::testing::DropSpan`

swc_ecma_codegen:
 - disable get_text_of_node to avoid deoptimization

swc_ecma_transforms:
 - allow using this inside arrow expression
 - implement es2015::block_scoping with hygiene ident
2018-11-23 19:22:07 +09:00

11 lines
355 B
JavaScript

var a = ['b', 'c', d(), 'e', 'f', 'g'].h('');
var i = ['b', 'c', d(), 'e', 'f', 'g'].h('j');
var k = ['b', 'c', d(), 'e', 'f', 'g'].h('l');
var m = ['b', 'c', d(),
['b', 1, 2, 3, 'c'].h('+'),
'e', 'f', 'g'].h('j');
var n = ['b', 'c', d(),
['b', 4, 5, 6, 'c'].h('+'),
'e', 'f', 'g'].h('l');
var o = ['p', 'p' + q, 'b', 'c', 'r' + b].h('');