Finds the product of 2 numbers.

function myFunction(a, b) {
  return a * b;
}
myFunction(125,5)
625

This Code Converts from Fahrenheit to Celsius.

function toCelsius(fahrenheit) {
    return (5/9) * (fahrenheit-32);
  }

toCelsius(0)
-17.77777777777778

Determines whether an integer is odd or even.

function IsOdd(x){
    if (x % 2 == 0) {
        console.log(x + " is an even number");
    }  else {
       console.log(x + " is an odd number");
    }
    
    }
    IsOdd(24)
24 is an even number

This code takes hours and converts into days, minutes, and seconds.

function DaysHoursMinutesSeconds(x){
    console.log(x + " hour(s) is equivalent to " + x/24 + " days, " + x*60 + " minutes, and " + x*3600 + " seconds.")
}
DaysHoursMinutesSeconds(48)
48 hour(s) is equivalent to 2 days, 2880 minutes, and 172800 seconds.