var to const when posssible

This commit is contained in:
lording 2023-06-22 09:41:41 +00:00
parent 1b1d6b020b
commit 533c8e217d
16 changed files with 27 additions and 27 deletions

View file

@ -2,7 +2,7 @@
// What's really nice is that you can use a switch statement as an
// expression to return a value.
//
// var a = switch (x) {
// const a = switch (x) {
// 1 => 9,
// 2 => 16,
// 3 => 7,