Search code examples
javascriptgoogle-chromegeneratorecmascript-harmony

Does Google Canary browser support generators of ES6?


I need to test/work generators that are part of the ES6 draft. To work on I need a browser(in my case). As Google Canary is strictly for developers, so does it support generators as of now? My OS is Windows 7.


Solution

  • Yes, behind a flag. See also the feature dashboard entry and V8 bug.

    Navigate to chrome://flags/#enable-javascript-harmony to enable it.