TypeScript/tests/baselines/reference/namedFunctionExpressionCall.js

23 lines
348 B
JavaScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
//// [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() {
foo();
recurser();
};
(function bar() {
bar();
});