scrimba
Learn Basic JavaScript
Decrement a Number with JavaScript
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

Decrement a Number with JavaScript
AboutCommentsNotes
Decrement a Number with JavaScript
Expand for more info
index.js
run
preview
console
var myVar = 11;

// Only change code below this line
myVar = myVar - 1;
Console
20
,
index.html
-0:20