Continuing the discussion from Chapter 3 Exercises:
So for some reason my minimum function is not alerting the user. Can someone give me a heads up on what is wrong with my code. I think it has something to do with how I ordered the returns and console.log, but then again I am not completely sure. Thanks in advance!!!
<script>
//Minimum Exercise
function minimum(a,b){
if(a<b){
let result = a
}
else{
let result = b
}
return result
}
var Min436 = (minimum(36,4))
alert(Min436)
</script>