Change Language


Follow Navioo On Twitter

++

Increments the value of a number by 1.

Syntax

number++ or ++number

Example

var myNumber = 3;
myNumber++;
// myNumber = 4;

Remarks

Use the increment operator as a counter and to loop through values in an array or similar object.

text_javascript Navioo_docs

Examples -> Source code Demo online - > increment operator:

Ajax Javascript feed

↑ Grab this Headline Animator