Nevermind, I found it! 

The correct flag was --harmony-async-await. 

For some reason I thought simply using --harmony would grab them all. 

Thanks!

On Tuesday, August 2, 2016 at 9:25:28 AM UTC-5, Brandon Jonson wrote:
>
> Hello Folks!
>
> I got a working build of V8 5.4.319. I clearly see the Async/Await 
> functions have made it (sort of) and still there in this build. 
> Unfortunately I cannot get V8 to recognize it. I've tried it with flags: 
> --harmony --es-shipping --es-staging --experimental-extras 
>
> I'm still getting a big old "Unexpected token function" after the async 
> keyword. Anybody know what I'm doing wrong? 
>
> async function testmeout () {
>
>   var foo = new Promise(function(resolve, reject) { resolve("foo") }) 
>
>   return await foo;
>
> }
>
>
> Thanks!
>

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to