<prompt> Kujenga programu JavaScript kuchapisha kiwango cha juu na kiwango cha chini ya idadi zilizotolewa?  <response>: Sure, here is a simple program that takes an array of numbers as an input and outputs the maximum and minimum value using the Math.max and Math.min methods:javascriptfunction findMaxMinnumbers find maximum value using Math.max method let maximumValue Math.max...numbers; find minimum value using Math.min method let minimumValue Math.min...numbers; print the result console.logMaximum Value: maximumValue; console.logMinimum Value: minimumValue; test the function with sample numberslet testNumbers 5, 12, 16, 10, 22, 8;findMaxMintestNumbers;This function uses the spread operator ... to pass the elements of the input array as arguments to the Math.max and Math.min methods. These methods return the maximum and minimum values of the given arguments respectively. Finally, the results are printed to the console using console.log. 