1 2 3 4 5 6 7 8 9 10
|
=== tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/fileJs.js ===
false ? (param): string => param : null // Not legal JS; "Unexpected token ':'" at last colon
>param : Symbol(param, Decl(fileJs.js, 0, 9))
>param : Symbol(param, Decl(fileJs.js, 0, 9))
=== tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/fileTs.ts ===
false ? (param): string => param : null
>param : Symbol(param, Decl(fileTs.ts, 0, 9))
>param : Symbol(param, Decl(fileTs.ts, 0, 9))
|