mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-07 11:08:54 +08:00
Remove live code & console.log, leave examples as comments.
This commit is contained in:
@ -44,8 +44,7 @@ function diceCoefficient (stringA, stringB) {
|
||||
// cut 0.xxxxxx to 0.xx for simplicity
|
||||
dice = Math.floor(dice * 100) / 100
|
||||
|
||||
console.log('Dice coefficient of', stringA, 'and', stringB, 'is', dice)
|
||||
|
||||
return dice
|
||||
}
|
||||
|
||||
export { diceCoefficient }
|
||||
|
Reference in New Issue
Block a user