Hello,
I defined a new javascript, in which I want to use a local storage variable called "destination".
The javascript I try to make is destinated to be used to convert a French e.164 number to a local number:
var dest={destination};
var formatted_destination = dest.replace(''+33","0");
The javascript doesn't accept the {destination}.
What should I do and how can I return the formatted_destination to a matching name local storage variable?
Thanks,
David