loading...

Discussion on: Daily Challenge #110 - Love VS. Friendship

Collapse
hnicolas profile image
Nicolas Hervé
const wordsToMarks = (word) => word.split("").reduce((acc, curr) => acc + curr.charCodeAt(0) - "a".charCodeAt(0) + 1, 0);