Which of the following is a JavaScript string method for replacing a specified character in a string with another character?
A. replace()
B. slice()
C. concat()
D. None of the above
Answer:A
Which of the following is a JavaScript string method for replacing a specified character in a string with another character?
A. replace() B. slice() C. concat() D. None of the above