Added the firebase integration

This commit is contained in:
2021-10-19 18:38:20 -03:00
parent 9f9cf73bf3
commit 05c033b86e
7 changed files with 50 additions and 25 deletions

View File

@@ -0,0 +1,11 @@
const SelectRandomWord = (arrayWords) => {
const randomWord = Math.trunc(
Math.random() * (arrayWords.length - 0) + 0
)
return arrayWords[randomWord]
}
export default SelectRandomWord