mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-12-19 06:58:15 +08:00
Remove live code & console.log, leave examples as comments.
This commit is contained in:
@@ -37,14 +37,6 @@ const levenshteinDistance = (a, b) => {
|
||||
}
|
||||
}
|
||||
|
||||
console.log(
|
||||
'Levenshtein Distance between ' +
|
||||
a +
|
||||
' and ' +
|
||||
b +
|
||||
' is = ' +
|
||||
distanceMatrix[b.length][a.length]
|
||||
)
|
||||
return distanceMatrix[b.length][a.length]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user