Francisco Tolmasky (2015-06-26T18:40:39.000Z)
Out of curiosity, in ES7, would the following code:

console.log(await { then: function(x) { x(5) } })
console.log(6)

Print out 5 then 6, or still 6 then 5? In other words, is the
asynchronousness gauranteed by the await, or by the underlying Promise
implementation?


-- 
Francisco Tolmasky
www.tolmasky.com
tolmasky at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20150626/04948bc0/attachment.html>
d at domenic.me (2015-07-07T01:55:27.391Z)
Out of curiosity, in ES7, would the following code:

```js
console.log(await { then: function(x) { x(5) } })
console.log(6)
```

Print out 5 then 6, or still 6 then 5? In other words, is the
asynchronousness gauranteed by the await, or by the underlying Promise
implementation?