var 10 var var flag 19 var flag 19 var flag 19 -1 flag 10

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
var x = y || 10;
var x = y || (a = 7);
var x = flag && 19;
var x = flag ? 19 : x;
var x = flag ? 19 : -1;
flag ? x : y = 10;