Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

decrement operator in javascript

// Decrement
let b = 1;
b--; //post decrement
--b; // pre decrement
Source by codeburst.io #
 
PREVIOUS NEXT
Tagged: #decrement #operator #javascript
ADD COMMENT
Topic
Name
9+7 =