例如:
code = '7777-5';
input = code.substring(0, 4); // Returns '7777'
checkdigit = f(input); // f() produces a checkdigit
assert.areEqual(code, input + "-" + checkdigit)
上面有没有使用的技术术语input
?
具体来说,我正在计算ISBNs 的校验位,但这不应该影响答案。
例如:
code = '7777-5';
input = code.substring(0, 4); // Returns '7777'
checkdigit = f(input); // f() produces a checkdigit
assert.areEqual(code, input + "-" + checkdigit)
上面有没有使用的技术术语input
?
具体来说,我正在计算ISBNs 的校验位,但这不应该影响答案。