Advertisement
sissou123

Untitled

Mar 16th, 2022
897
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. JavaScript Algorithms and Data Structures
  2. Basic JavaScript
  3. Increment a Number with JavaScript
  4. You can easily increment or add one to a variable with the ++ operator.
  5.  
  6. i++;
  7. is the equivalent of
  8.  
  9. i = i + 1;
  10. Note: The entire line becomes i++;, eliminating the need for the equal sign.
  11.  
  12. Change the code to use the ++ operator on myVar.
  13.  
  14. for more:http://besturl.link/MPIK
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement