Fix naming of constant

This commit is contained in:
Simon Siegert 2018-01-25 20:56:33 +01:00 committed by GitHub
parent fce4a810cb
commit 0d0b536b28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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