| +1; |
| -1; |
| ~1; |
| !1; |
| !!1; |
| 1+1-1*1/1%1; |
| 1.2+1.2-1.2*1.2/1.2%1.2; |
| (1+1-1*1/1%1); |
| (1)+(1)-(1)*(1)/(1)%(1); |
| +(1); |
| +s; |
| -s; |
| ~s; |
| x++; |
| x--; |
| ++x; |
| --x; |
| x=1; |
| x=1e2; |
| x=1+1; |
| x=1e2+1e2; |
| x=x+1; |
| x=x=x; |
| x=x[1]+1; |
| x=[1]; |
| x=(1); |
| x=(s); |
| x=[1,1,s]; |
| foo(1,1,s); |
| x=[1+1-1*1/1%1,+1,1-1,-1,~1,-s,s+1,s-1,a[1]+1,a[1]-1]; |
| foo(1+1-1*1/1%1,+1,1-1,-1,~1,-s,s+1,s-1,a[1]+1,a[1]-1); |
| x=[-1+1*1/1%1]; |
| x=(-1+1*1/1%1); |
| x=1? +1:-s; |
| x=(1? +1:-s); |
| x=[1? -1:+s]; |
| x={a:-1,b:+1,c:1-1,d:1,s:s}; |
| x=x**2; |
| |
| a<b; |
| a>b; |
| a<=b; |
| a>=b; |
| a==b; |
| a!=b; |
| a===b; |
| a!==b; |
| !a!=!b; |
| !!a!=!!b; |
| |
| x+=x; |
| x*=x; |
| x<<=x; |
| x**=x; |
| x%=x; |
| |
| void 0; |
| void(0); |
| void (0); |
| typeof x; |
| typeof(x); |
| x instanceof x; |
| x instanceof(x); |
| |
| |
| // ES2020 - BigInt |
| 1n+2n-3n*4n/5n%6n; |
| 123n===0; |
| 0===123n; |
| +123n===-123n; |
| -123n===+123n; |