mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
15 lines
432 B
TypeScript
15 lines
432 B
TypeScript
//// [tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression6.ts] ////
|
|
|
|
//// [parserArrowFunctionExpression6.ts]
|
|
function foo(q: string, b: number) {
|
|
return true ? (q ? true : false) : (b = q.length, function() { });
|
|
};
|
|
|
|
|
|
//// [parserArrowFunctionExpression6.js]
|
|
"use strict";
|
|
function foo(q, b) {
|
|
return true ? (q ? true : false) : (b = q.length, function () { });
|
|
}
|
|
;
|