Files
babel/packages/babel-generator/test/fixtures/parentheses/yield-expression/expected.js
2016-01-05 18:12:25 -05:00

12 lines
190 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;
}