2014-07-13 01:04:16 +02:00
|
|
|
//// [innerFunc.ts]
|
|
|
|
function salt() {
|
|
|
|
function pepper() { return 5;}
|
|
|
|
return pepper();
|
|
|
|
}
|
|
|
|
|
|
|
|
module M {
|
|
|
|
export function tungsten() {
|
|
|
|
function oxygen() { return 6; };
|
|
|
|
return oxygen();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//// [innerFunc.js]
|
|
|
|
function salt() {
|
2015-02-07 05:03:24 +01:00
|
|
|
function pepper() { return 5; }
|
2014-07-13 01:04:16 +02:00
|
|
|
return pepper();
|
|
|
|
}
|
|
|
|
var M;
|
|
|
|
(function (M) {
|
|
|
|
function tungsten() {
|
2015-02-07 05:03:24 +01:00
|
|
|
function oxygen() { return 6; }
|
2014-07-13 01:04:16 +02:00
|
|
|
;
|
|
|
|
return oxygen();
|
|
|
|
}
|
|
|
|
M.tungsten = tungsten;
|
|
|
|
})(M || (M = {}));
|