1 2 3 4 5 6 7 8 9 10 11 12 13 14
|
=== tests/cases/conformance/es6/arrowFunction/emitArrowFunctionAsIsES6.ts ===
var arrow1 = a => { };
>arrow1 : Symbol(arrow1, Decl(emitArrowFunctionAsIsES6.ts, 0, 3))
>a : Symbol(a, Decl(emitArrowFunctionAsIsES6.ts, 0, 12))
var arrow2 = (a) => { };
>arrow2 : Symbol(arrow2, Decl(emitArrowFunctionAsIsES6.ts, 1, 3))
>a : Symbol(a, Decl(emitArrowFunctionAsIsES6.ts, 1, 14))
var arrow3 = (a, b) => { };
>arrow3 : Symbol(arrow3, Decl(emitArrowFunctionAsIsES6.ts, 3, 3))
>a : Symbol(a, Decl(emitArrowFunctionAsIsES6.ts, 3, 14))
>b : Symbol(b, Decl(emitArrowFunctionAsIsES6.ts, 3, 16))
|