mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
11 lines
262 B
TypeScript
11 lines
262 B
TypeScript
//// [tests/cases/conformance/es6/functionDeclarations/FunctionDeclaration10_es6.ts] ////
|
|
|
|
//// [FunctionDeclaration10_es6.ts]
|
|
function * foo(a = yield => yield) {
|
|
}
|
|
|
|
//// [FunctionDeclaration10_es6.js]
|
|
"use strict";
|
|
function* foo(a = yield, yield) {
|
|
}
|