mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 14:43:33 +03:00
7c58b89571
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
11 lines
329 B
JavaScript
11 lines
329 B
JavaScript
var a = ['b', 'c', 'd'].e('');
|
|
var f = ['b', 'c', 'd'].e();
|
|
var g = ['b', 1, 2, 3, 'c'].e('');
|
|
var h = [i(), 'b', 4, 5, 6, 'c', c()].e('');
|
|
var j = [i(), c(), 'b', 7, 8, 9, 'c', c()].e('');
|
|
var k = [10, 11, 'b', 'c', d()].e('');
|
|
var l = ['b', 12 + 13 + 'c', 'd'].e('m');
|
|
var n = [].e(b + c);
|
|
var o = [].e('');
|
|
var p = [].e('b');
|