We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df10eae commit 2f6e3daCopy full SHA for 2f6e3da
source-map-support.js
@@ -299,6 +299,17 @@ function CallSiteToString() {
299
}
300
301
var line = "";
302
+ var isAsync = this.isAsync ? this.isAsync() : false;
303
+ if(isAsync) {
304
+ line += 'async ';
305
+ var isPromiseAll = this.isPromiseAll ? this.isPromiseAll() : false;
306
+ var isPromiseAny = this.isPromiseAny ? this.isPromiseAny() : false;
307
+ if(isPromiseAny || isPromiseAll) {
308
+ line += isPromiseAll ? 'Promise.all (index ' : 'Promise.any (index ';
309
+ var promiseIndex = this.getPromiseIndex();
310
+ line += promiseIndex + ')';
311
+ }
312
313
var functionName = this.getFunctionName();
314
var addSuffix = true;
315
var isConstructor = this.isConstructor();
0 commit comments