From 6dfcbc66c8977e73ebe1caa19bec62670405a4de Mon Sep 17 00:00:00 2001 From: "Adriano P. S. Souza" Date: Sat, 8 Feb 2020 12:23:10 -0300 Subject: [PATCH] Fix day 02 ascii number --- 02_Day/02_day_data_types.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/02_Day/02_day_data_types.md b/02_Day/02_day_data_types.md index bdba3801..524cf381 100644 --- a/02_Day/02_day_data_types.md +++ b/02_Day/02_day_data_types.md @@ -610,7 +610,7 @@ string.charCodeAt(index) ```js let string = '30 Days Of JavaScript' -console.log(string.charCodeAt(3)) // D ASCII number is 51 +console.log(string.charCodeAt(3)) // D ASCII number is 68 let lastIndex = string.length - 1 console.log(string.charCodeAt(lastIndex)) // t ASCII is 116