From bd34f28d45709093c234e3113cbe9d67bd88027d Mon Sep 17 00:00:00 2001 From: moslem safari <38278475+moslemsafari@users.noreply.github.com> Date: Wed, 3 Aug 2022 23:18:01 +0430 Subject: [PATCH] Update 02_day_data_types.md ![Accessing sting by index](../images/string_indexes.png) ==> ![Accessing string by index](../images/string_indexes.png) "sting" to "string" corrections --- 02_Day_Data_types/02_day_data_types.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/02_Day_Data_types/02_day_data_types.md b/02_Day_Data_types/02_day_data_types.md index e27d43d..ef8c555 100644 --- a/02_Day_Data_types/02_day_data_types.md +++ b/02_Day_Data_types/02_day_data_types.md @@ -450,7 +450,7 @@ console.log(firstName.length) // 8 2. *Accessing characters in a string*: We can access each character in a string using its index. In programming, counting starts from 0. The first index of the string is zero, and the last index is the length of the string minus one. - ![Accessing sting by index](../images/string_indexes.png) + ![Accessing string by index](../images/string_indexes.png) Let us access different characters in 'JavaScript' string.