Increment a Number with Javascript

This commit is contained in:
Abhisek Pattnaik
2015-12-24 12:50:21 +05:30
committed by SaintPeter
parent c0f579f6e4
commit fa414afb44

View File

@ -380,7 +380,7 @@
"id": "56533eb9ac21ba0edf2244ac", "id": "56533eb9ac21ba0edf2244ac",
"title": "Increment a Number with Javascript", "title": "Increment a Number with Javascript",
"description": [ "description": [
"You can easily <dfn>increment</dfn> or add one to a Javascript variable with the <code>++</code> operator.", "You can easily <dfn>increment</dfn> or add one to a variable with the <code>++</code> operator.",
"<code>i++;</code>", "<code>i++;</code>",
"is the equivilent of", "is the equivilent of",
"<code>i = i + 1;</code>", "<code>i = i + 1;</code>",