TypeScript/tests/cases/compiler/namedFunctionExpressionCall.ts

12 lines
175 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
var recurser = function foo() {
// using the local name
foo();
// using the globally visible name
recurser();
};
(function bar() {
bar();
});