User Tools

Site Tools


jet:working_with_operators

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
jet:working_with_operators [2016/01/13 00:22] leojet:working_with_operators [2016/01/13 00:28] (current) leo
Line 66: Line 66:
 <code> <code>
 var a = 5; var a = 5;
-console.log+console.log(a++) 
 +>> 5 
 +var a = 5; 
 +console.log(++a) 
 +>> 6 
 +</code> 
 + 
 +=== opérateur ternaire === 
 + 
 +condition?true:false; 
 + 
 +<code> 
 +var a = 5; 
 +var b = 10; 
 +plus_grand = (a>b)?a:b;
 </code> </code>
jet/working_with_operators.1452640961.txt.gz · Last modified: 2016/01/13 00:22 by leo