Answers for "mask a credit card javascript mdn"

2

mask a credit card javascript mdn

function maskify(cc) {
  return cc.replace(/.(?=.{4})/g, "#");
}
Posted by: Guest on June-19-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language