How does one actually enable this? <https://kotlin...
# javascript
s
How does one actually enable this? https://kotlinlang.org/docs/whatsnew20.html#suspend-functions-as-es2015-generators Couldn’t find any docs. Is it enabled by default when we set compilation target to es2015?
e
Yes, it's enabled by default with ES2015, but you can also activate it with the compiler argument
-Xes-generators