Change Language


Follow Navioo On Twitter

--

Decrements the value of a number by 1.

Syntax

number-- or --number

Example

var myNumber = 3;
myNumber--;
// myNumber = 2;

Remarks

Use the decrement operator as a counter.

text_javascript Navioo_docs

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

Ajax Javascript feed

↑ Grab this Headline Animator