From 5c3fead5ee196ca920a84b4d68f6d7598f01f82d Mon Sep 17 00:00:00 2001 From: Harsh Srivastava <137524477+HarshS16@users.noreply.github.com> Date: Sat, 2 Nov 2024 10:50:24 +0000 Subject: [PATCH] push2 --- 01_basics/06_nums.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/01_basics/06_nums.js b/01_basics/06_nums.js index 1ab0d4f..734157e 100644 --- a/01_basics/06_nums.js +++ b/01_basics/06_nums.js @@ -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.)); + + +