Skip to content

Commit

Permalink
var -> const
Browse files Browse the repository at this point in the history
  • Loading branch information
jtr13 committed Nov 21, 2024
1 parent 6bceedf commit 7d15003
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/vertical_bar_button_exercise.html
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
}

function add() {
var newValue = Math.floor(Math.random() * 400);
const newValue = Math.floor(Math.random() * 400);
bardata.push(newValue);
update(bardata);
}
Expand Down

0 comments on commit 7d15003

Please sign in to comment.