var to const when posssible
This commit is contained in:
parent
1b1d6b020b
commit
533c8e217d
16 changed files with 27 additions and 27 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue