If two arguments are passed to the indexOf() function then ___________________
If two arguments are passed to the indexOf() function then ___________________ Correct Answer Second argument indicates the occurrence number of specified character from starting
The string may have more than one occurrence of a character. We use this function to get the index at which the specified number of times a specific character has occurred in a string. For example, we can get the index of 5th occurrence of character “j” in a string.
মোঃ আরিফুল ইসলাম
Feb 20, 2025