I'm just getting started in JavaScript. I hope you can help me out. I'm trying to call two functions within another function, but it just doesn't seem to work. Nothing shows up on the terminal.
function minusOne(n){
return --n
}
function triple(n){
return n*3
}
function tripleMinusOne(n){
tri=triple(n)
result = anterior(tri)
return result
}
res=anteriorDelTriple(9)
console.log(res)