Skip to content

Commit

Permalink
Fix naming of constant
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Siegert committed Jan 25, 2018
1 parent fce4a81 commit 0d0b536
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typescript.html.markdown
Expand Up @@ -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

Expand Down

0 comments on commit 0d0b536

Please sign in to comment.