swc/ecmascript/babel/compat/tests/fixtures/function-arrow/input.js
강동윤 6896a83d54
fix(es/codegen): Fix codegen of ~ (#2104)
swc_ecma_codegen:
 - Emit pending semi on `~`. (#2091)
2021-08-19 17:21:08 +09:00

8 lines
105 B
JavaScript

var a = [
'Hydrogen',
'Helium',
'Lithium',
'Beryllium'
];
var a3 = a.map(s => s.length);