Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
Tatyana-js committed Oct 11, 2023
1 parent 8adceb0 commit 7d41ad0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions function/getRandomInt.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
const getRandomInt = (max) => Math.floor(Math.random() * max);
export default getRandomInt;
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"description": "[![Actions Status](https://github.com/Tanya14081981/frontend-project-44/workflows/hexlet-check/badge.svg)](https://github.com/Tanya14081981/frontend-project-44/actions)",
"bin": {
"brain-games": "bin/brain-games.js",
"brain-even": "bin/brain-even.js"
"brain-even": "bin/brain-even.js",
"brain-calc": "bin/brain-calc.js"
},
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 7d41ad0

Please sign in to comment.