I want to mask my javascript variable value.Basically i am getting phone number fields value in variable and after getting it i want to mask it in some other format.
Using jsuites plugin you can do that
A) HTML
B) JAVASCRIPT
To get the parse a string into a variable
Source: https://bossanova.uk/jsuites/javascript-mask