File: yield-precedence.expected.js

package info (click to toggle)
node-escodegen 2.0.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 14,656 kB
  • sloc: javascript: 25,925; sh: 9; makefile: 7
file content (7 lines) | stat: -rw-r--r-- 151 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
function* foo() {
    var a = yield wat(), b = 2;
    var c = yield a = b;
    yield a, yield b;
    yield a = b;
    return (yield 1) || (yield 2);
}