1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
|
=== tests/cases/conformance/salsa/bluebird.js ===
!function outer (f) { return f }(
>!function outer (f) { return f }( function inner () { function Async() { this._trampolineEnabled = true; } Async.prototype.disableTrampolineIfNecessary = function dtin(b) { if (b) { this._trampolineEnabled = false; } }; }) : boolean
>function outer (f) { return f }( function inner () { function Async() { this._trampolineEnabled = true; } Async.prototype.disableTrampolineIfNecessary = function dtin(b) { if (b) { this._trampolineEnabled = false; } }; }) : () => void
>function outer (f) { return f } : (f: () => void) => () => void
>outer : (f: () => void) => () => void
>f : () => void
>f : () => void
function inner () {
>function inner () { function Async() { this._trampolineEnabled = true; } Async.prototype.disableTrampolineIfNecessary = function dtin(b) { if (b) { this._trampolineEnabled = false; } }; } : () => void
>inner : () => void
function Async() {
>Async : typeof Async
this._trampolineEnabled = true;
>this._trampolineEnabled = true : true
>this._trampolineEnabled : any
>this : any
>_trampolineEnabled : any
>true : true
}
Async.prototype.disableTrampolineIfNecessary = function dtin(b) {
>Async.prototype.disableTrampolineIfNecessary = function dtin(b) { if (b) { this._trampolineEnabled = false; } } : (b: any) => void
>Async.prototype.disableTrampolineIfNecessary : any
>Async.prototype : any
>Async : typeof Async
>prototype : any
>disableTrampolineIfNecessary : any
>function dtin(b) { if (b) { this._trampolineEnabled = false; } } : (b: any) => void
>dtin : (b: any) => void
>b : any
if (b) {
>b : any
this._trampolineEnabled = false;
>this._trampolineEnabled = false : false
>this._trampolineEnabled : boolean
>this : Async
>_trampolineEnabled : boolean
>false : false
}
};
})
|