ReplaceAll dont work?

ReplaceAll dont work?

I have this code:
texto = "0.90";
 alert(texto.replaceAll(".", ","));

Return to me " ,,,,"

WHy???????????