Files
babel/test/fixtures/transformation/async-to-generator/async/expected.js
2015-03-07 01:25:18 +11:00

16 lines
282 B
JavaScript

"use strict";
var Foo = (function () {
function Foo() {
babelHelpers.classCallCheck(this, Foo);
}
babelHelpers.createClass(Foo, {
foo: {
value: babelHelpers.asyncToGenerator(function* () {
var wat = yield bar();
})
}
});
return Foo;
})();