mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-11-22 21:52:31 +03:00
Fix naming of constant
This commit is contained in:
parent
fce4a810cb
commit
0d0b536b28
@ -29,7 +29,7 @@ let notSure: any = 4;
|
||||
notSure = "maybe a string instead";
|
||||
notSure = false; // okay, definitely a boolean
|
||||
|
||||
// Use const keyword for constant variables
|
||||
// Use const keyword for constants
|
||||
const numLivesForCat = 9;
|
||||
numLivesForCat = 1; // Error
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user