await!

node v6.17.1
version: master
endpointsharetweet
function x() { return new Promise(function(resolve, reject) { setTimeout(function() { resolve({a:42}); },100); }); } await x();
Loading…

no comments

    sign in to comment