What will be the output of the following javascript Code?
function recursion(x) { if (x < 0) return console.log(x) recursion(x - 1) } recursion(5); I am getting the following output 5 4 3 2 1 0 => i want to know why 0, isn't the condition will be false at…