jet:working_with_operators
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
jet:working_with_operators [2016/01/13 00:22] – leo | jet:working_with_operators [2016/01/13 00:28] (current) – leo | ||
---|---|---|---|
Line 66: | Line 66: | ||
< | < | ||
var a = 5; | var a = 5; | ||
- | console.log | + | console.log(a++) |
+ | >> 5 | ||
+ | var a = 5; | ||
+ | console.log(++a) | ||
+ | >> 6 | ||
+ | </ | ||
+ | |||
+ | === opérateur ternaire === | ||
+ | |||
+ | condition? | ||
+ | |||
+ | < | ||
+ | var a = 5; | ||
+ | var b = 10; | ||
+ | plus_grand = (a> | ||
</ | </ |
jet/working_with_operators.1452640961.txt.gz · Last modified: 2016/01/13 00:22 by leo