diff options
-rw-r--r-- | typescript.html.markdown | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/typescript.html.markdown b/typescript.html.markdown index 55d8cefe..c27e93a6 100644 --- a/typescript.html.markdown +++ b/typescript.html.markdown @@ -235,13 +235,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 } |