Guest User

Untitled

a guest
May 25th, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. const Verifier = idText => {
  2. return (11 - (idText.slice(0, 12).split('').map((val, key) => parseInt(val) * (13 - key)).reduce((current, total) => total + current) % 11)).toString().slice(-1) === idText[12]
  3. }
Add Comment
Please, Sign In to add comment