I have a looping job, in the looped transformation I have a Modified JavaScript step that, a part from other instructions, replace all the occurence in a string with a value.
If I use replace(string_name, value_to_search_for, value_to_replace_with) anything came messed up, if I use string_name.replace(value_to_search_for, value_to_replace_with) instead all goes well.

Am I missing something or is it a issue?