checker="TUWXKLMNPQR";break;default:returnfalse; }varChkDigit = checker.split("");varsum =2* d[1] +7* d[2] +6* d[3] +5* d[4] +4* d[5] +3* d[6] +2* d[7];varchecksum =11- (sum %11) -1; checksum= checksum == -1?10: checksum;varLastDigit =ChkDigit[checksum]...