At the moment you can do this by setting experimental or
asyncFunctions to true. It needs to be done before your script tag:
<script src="bin/traceur.js"></script>
<script src="bin/traceur-runtime.js"></script>
<script>
// traceur.options.experimental = true;
traceur.options.asyncFunctions = true;
</script>
<script type="text/traceur">
async function f() {
...
}
</script>
> --
> You received this message because you are subscribed to the Google Groups
> "traceur-compiler-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
traceur-compiler-d...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.
--
erik