Glossary
- -- operator
- -= operator
- ++ operator
- += operator
- Accessing and setting content
- Array length
- Arrays
- Between braces
- Booleans
- Braces
- Calling the function
- Class
- Code block
- Conditions
- Console
- Constructor
- Creating a p element
- Else
- Else if
- Equality operator
- Extends
- Filter
- For Loops
- Function
- Function name
- Greater than
- Head element
- If statement
- Less than
- Map
- Methods
- Numbers
- Overriding methods
- Parameters
- Reduce
- Removing an element
- Replace
- Sort
- Splice
- Strings
- Substring
- Title
- While Loops
JAVASCRIPT
++ operator in JavaScript
The increment operator, ++
, placed after a variable's name, increases its value by 1
. Here, likes++
will increase the value from 5
to 6
.
let likes = 5;
likes++;
console.log(likes);
Sign up or download Mimo from the App Store or Google Play to enhance your programming skills and prepare for a career in tech.