Write a function to return the minimum of all the numbers given in an array
Note: Dont use the inbuilt Math.min method
let arr = [-5,4,8,-15,7,9,2];
function findMinimum(arr){
// write your code here
}
console.log(findMinimum(arr));// should return -15