Skip to content

Commit

Permalink
Merge pull request #6502 from nox456/main
Browse files Browse the repository at this point in the history
Reto #8 - javascript
  • Loading branch information
Roswell468 authored May 8, 2024
2 parents f672f26 + c859da2 commit 3296315
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
function randomNumber() {
const date = new Date()
const ms = date.getTime().toString()
return Math.round(ms.slice(ms.length - 3) / 10)
}

console.log(randomNumber())

0 comments on commit 3296315

Please sign in to comment.