Is it possible?
I thought maybe something like this:
```js
function animationFrame() {
let resolve = null
const promise = new Promise(r => resolve = r)
window.requestAnimationFrame(resolve)
return promise
}
async function game() {
// the game loop
while (true) {
Hi Caridy,
Thank you very much for your feedback. I will definitely go for the loader
option.
Cheers,
Francisco
El jue., 21 abr. 2016 a las 18:22, Caridy Patiño ()
escribió:
> Hey Francisco
>
> There is nothing in the spec that prevent you from doing `import * from
>
Yes, that is still how mocha does things. Mocha is not the best example
though, because it is not compatible with arrow functions. Mocha uses
`this` to expose extra functions to your test case. (I always use a wrapper
around mocha to avoid these issues)
Subject: Re: Pseudo headless arrows
>
I like that Headless Arrow Function proposal
(http://bterlson.github.io/headless-arrows).
```js
doSomethingAsync(=> console.log('done'))
```
On Thu, Apr 21, 2016 at 5:02 PM, Michael Theriot
wrote:
> Three equals used outside of strict equality might take some
4 matches
Mail list logo