Here is the code written in test.xsjs file.
However, when I access this test.xsjs file through the Chrome, string didn't change to "adcd". It seems repalce() can't work in the hana environment.
I tested the replace() function in other environment, such as console in Chrome, they all run perfectly.
Thanks, let's discuss and discover why replace() runs like this.