Skip to content

Commit

Permalink
push2
Browse files Browse the repository at this point in the history
  • Loading branch information
HarshS16 committed Nov 2, 2024
1 parent 9cba743 commit 5c3fead
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions 01_basics/06_nums.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,14 @@ console.log(Math.min(3,4,8,9,1));
//returns minimum element of array
console.log(Math.max(3,4,8,9,1));
//returns maximum element of array
console.log(Math.random());
console.log((Math.random()*10)+1);
console.log(Math.floor(Math.random()*10)+1);
const min=10
const max=20
console.log(Math.floor(Math.));





0 comments on commit 5c3fead

Please sign in to comment.