Files
babel/packages/babel-generator/test/fixtures/parentheses/yield-expression/expected.js
2016-01-06 17:35:39 -08:00

12 lines
194 B
JavaScript

function* asdf() {
(yield 1) || (yield 2);
(yield b)();
new (yield b)();
true ? yield 1 : yield 2;
yield yield 1;
}
function* a(b) {
(yield xhr({ url: "views/test.html" })).data;
}