34 lines
1.3 KiB
Plaintext
34 lines
1.3 KiB
Plaintext
=== tests/cases/compiler/fatarrowfunctionsInFunctions.ts ===
|
|
declare function setTimeout(expression: any, msec?: number, language?: any): number;
|
|
>setTimeout : Symbol(setTimeout, Decl(fatarrowfunctionsInFunctions.ts, 0, 0))
|
|
>expression : Symbol(expression, Decl(fatarrowfunctionsInFunctions.ts, 0, 28))
|
|
>msec : Symbol(msec, Decl(fatarrowfunctionsInFunctions.ts, 0, 44))
|
|
>language : Symbol(language, Decl(fatarrowfunctionsInFunctions.ts, 0, 59))
|
|
|
|
var messenger = {
|
|
>messenger : Symbol(messenger, Decl(fatarrowfunctionsInFunctions.ts, 2, 3))
|
|
|
|
message: "Hello World",
|
|
>message : Symbol(message, Decl(fatarrowfunctionsInFunctions.ts, 2, 17))
|
|
|
|
start: function() {
|
|
>start : Symbol(start, Decl(fatarrowfunctionsInFunctions.ts, 3, 27))
|
|
|
|
var _self = this;
|
|
>_self : Symbol(_self, Decl(fatarrowfunctionsInFunctions.ts, 5, 11))
|
|
|
|
setTimeout(function() {
|
|
>setTimeout : Symbol(setTimeout, Decl(fatarrowfunctionsInFunctions.ts, 0, 0))
|
|
|
|
_self.message.toString();
|
|
>_self : Symbol(_self, Decl(fatarrowfunctionsInFunctions.ts, 5, 11))
|
|
|
|
}, 3000);
|
|
}
|
|
};
|
|
messenger.start();
|
|
>messenger.start : Symbol(start, Decl(fatarrowfunctionsInFunctions.ts, 3, 27))
|
|
>messenger : Symbol(messenger, Decl(fatarrowfunctionsInFunctions.ts, 2, 3))
|
|
>start : Symbol(start, Decl(fatarrowfunctionsInFunctions.ts, 3, 27))
|
|
|