diff --git a/readMe.md b/readMe.md index 764a750..1c2ca5b 100644 --- a/readMe.md +++ b/readMe.md @@ -1259,7 +1259,7 @@ console.log(string.repeat(10)) // lovelovelovelovelovelovelovelovelovelove 16. Use __indexOf__ to determine the position of the first occurrence of a in 30 Days Of JavaScript 17. Use __lastIndexOf__ to determine the position of the last occurrence of a in 30 Days Of JavaScript. 18. Use __indexOf__ to find the position of the first occurrence of the word __because__ in the following sentence:__'You cannot end a sentence with because because because is a conjunction'__ -19. Use __lastIndexOf__ to find the position of the first occurrence of the word __because__ in the following sentence:__'You cannot end a sentence with because because because is a conjunction'__ +19. Use __lastIndexOf__ to find the position of the last occurrence of the word __because__ in the following sentence:__'You cannot end a sentence with because because because is a conjunction'__ 20. Use __search__ to find the position of the first occurrence of the word __because__ in the following sentence:__'You cannot end a sentence with because because because is a conjunction'__ 21. Use __trim()__ to remove if there is trailing whitespace at the beginning and the end of a string.E.g ' 30 Days Of JavaScript '. 22. Use __startsWith()__ method with the string *30 Days Of JavaScript* make the result true @@ -1796,4 +1796,4 @@ You are 25. You are old enough to drive 1. Create a human readable time format 1. YYY-MM-DD HH:mm:ss 2. DD-MM-YYYY HH:mm:ss - 3. DD/MM/YYY HH:mm:ss \ No newline at end of file + 3. DD/MM/YYY HH:mm:ss