mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 04:32:01 +03:00
6e028696a5
We buffer operations related to source map and make it fast using an assumption that the byte positions always increment while emitting a file.
52 lines
479 B
JavaScript
52 lines
479 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');
|