TypeScript/tests/baselines/reference/namedFunctionExpressionCall.js
2014-08-15 15:49:09 -07:00

25 lines
417 B
TypeScript

//// [namedFunctionExpressionCall.ts]
var recurser = function foo() {
// using the local name
foo();
// using the globally visible name
recurser();
};
(function bar() {
bar();
});
//// [namedFunctionExpressionCall.js]
var recurser = function foo() {
// using the local name
foo();
// using the globally visible name
recurser();
};
(function bar() {
bar();
});