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