Is there a javascript operator that updates a regex in-place, such as:
let ip = ip.replace(regex, 'xxx');
ip /= ip.replace(regex, 'xxx');
Similar to the other arithmetic operators, such as:
let x = x + 1;
x += 1;
Blancer.com Tutorials and projects
Freelance Projects, Design and Programming Tutorials
Is there a javascript operator that updates a regex in-place, such as:
let ip = ip.replace(regex, 'xxx');
ip /= ip.replace(regex, 'xxx');
Similar to the other arithmetic operators, such as:
let x = x + 1;
x += 1;