diff --git a/02_Day_Data_types/02_day_data_types.md b/02_Day_Data_types/02_day_data_types.md index 198ae2b..a60726d 100644 --- a/02_Day_Data_types/02_day_data_types.md +++ b/02_Day_Data_types/02_day_data_types.md @@ -81,7 +81,7 @@ let word = 'JavaScript' If we try to modify the string stored in variable *word*, JavaScript should raise an error. Any data type under a single quote, double quote, or backtick quote is a string data type. ```js -word[0] = 'Y' +word[0] = 'J' ``` This expression does not change the string stored in the variable *word*. So, we can say that strings are not modifiable or in other words immutable.