diff --git a/typescript.html.markdown b/typescript.html.markdown index 293a4a35..cf2111d5 100644 --- a/typescript.html.markdown +++ b/typescript.html.markdown @@ -248,13 +248,13 @@ for (const val of arrayOfAnyType) { let list = [4, 5, 6]; for (const i of list) { - console.log(i); // "4", "5", "6" + console.log(i); // 4, 5, 6 } // for..in statement // iterate over the list of keys on the object being iterated for (const i in list) { - console.log(i); // "0", "1", "2", + console.log(i); // 0, 1, 2 }