fa9784aad795ba5aa2897a3b6b3e2a9981cc8dc3
[platform/framework/web/crosswalk-tizen.git] /
1 !a
2 !!foo
3 !(foo);
4 ;(!!foo)
5 !(!foo);
6 !!(!foo);
7
8 -x;
9 -y;
10
11 ~a; //bitwise NOT is unary
12
13 // these are actually UpdateExpression
14 ++foo;
15 foo++;
16 --bar;
17 bar--;
18
19 // delete is a UnaryExpression
20 delete foo.bar;
21 delete bar.amet;
22
23 // need to check indent as well
24 function fn() {
25   !!(!foo);
26   delete this.bar
27   delete this.amet;
28   delete this.ipsum;
29 }
30
31 typeof a === "number" ? x : y;
32
33 var s = 'a string';
34 console.log(typeof s);
35
36 void 0;