string-similarity-js
string-similarity-js copied to clipboard
use substring instead of substr
.substr is depricated, we can user substring instead.
ref: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr