2015-10-13 20:17:10 +02:00
|
|
|
// @allowUnreachableCode: true
|
2015-04-11 17:50:11 +02:00
|
|
|
// @module: system
|
|
|
|
|
|
|
|
export var x;
|
|
|
|
x = 1;
|
|
|
|
x++;
|
|
|
|
x--;
|
|
|
|
++x;
|
|
|
|
--x;
|
|
|
|
x += 1;
|
|
|
|
x -= 1;
|
|
|
|
x *= 1;
|
|
|
|
x /= 1;
|
|
|
|
x |= 1;
|
|
|
|
x &= 1;
|
2015-04-21 17:31:14 +02:00
|
|
|
x + 1;
|
|
|
|
x - 1;
|
|
|
|
x & 1;
|
|
|
|
x | 1;
|
2015-04-11 17:50:11 +02:00
|
|
|
for (x = 5;;x++) {}
|
|
|
|
for (x = 8;;x--) {}
|
2015-04-14 06:32:27 +02:00
|
|
|
for (x = 15;;++x) {}
|
|
|
|
for (x = 18;;--x) {}
|
2015-04-11 17:50:11 +02:00
|
|
|
|
|
|
|
for (let x = 50;;) {}
|
|
|
|
function foo() {
|
|
|
|
x = 100;
|
|
|
|
}
|
|
|
|
|
|
|
|
export let [y] = [1];
|
|
|
|
export const {a: z0, b: {c: z1}} = {a: true, b: {c: "123"}};
|
|
|
|
for ([x] of [[1]]) {}
|