Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
function Foo(who) { | |
this.me = who; | |
} | |
Foo.prototype.identify = function() { | |
return "I am " + this.me; | |
}; | |
function Bar(who) { | |
Foo.call(this,"Bar:" + who); |
'use strict'; | |
// note! run this with Node.js version 11, as queueMicrotask is only supported | |
// in Node.js version 11. | |
declare var queueMicrotask: any; | |
const CancelSymbol = Symbol('cancel'); | |
const RejectSymbol = Symbol('reject'); |
Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/