samedi 25 avril 2020

How to print return value of if condition in JS? [closed]

function() {
  if(condition) {
    return true
  }
}
console.log(?);

Is it possible to print the return value of if condition in JavaScript using console.log(). If YES, how?

Aucun commentaire:

Enregistrer un commentaire