Remove live code & console.log, leave examples as comments.

This commit is contained in:
Eric Lavault
2021-10-11 14:07:10 +02:00
parent 90356f340d
commit e18718b7d5
14 changed files with 64 additions and 59 deletions

View File

@ -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 }