Condition issue

I was so insistent on console.log because in your first case you would have seen that idade had value of Digite

like this:

and also in the other case

1 Like