I am trying to write a function where the parameter is a string and a specific character needs to be replaced. It will then give an alert box with the converted string.

I have the following code but it isn't working. I also want it to `alert()` the converted string.

```
function encryption(aString){
    return aString.replace(/a/g, '@')
      .replace(/e/g, '()')
      .replace(/h/g, '#')
      .replace(/l/g,'1')
      .replace(/r/g,'+')
      .replace(/s/g.'$')
      .replace(/v/g,'^')
      .replace(/x/g,'*');
}

```