<script> Math.isOdd = val => val %2 ! ==0 Math.isEven = val => val %2 ! Math.rnd=(Max,min =0) =>{return math.round (math.random ()*(max-min))+min} console.log(math.floor (3.1)); // round console.log(math.ceil (3.1)); // Round console.log(math.round (3.1)); // Round console.log(math.round (3.5)); console.log(Math.abs(-3)); The console. The log (math.h pow (2, 3)); The console. The log (Math. Max,3,20,50 (2)); The console. The log (Math. Min,3,20,50 (2)); The console. The log (math.h RND (30, 20)); console.log(Math.isEven(22)); console.log(Math.isOdd(23)); console.log(Math.isOdd(21)); </script>Copy the code