SHARE
TWEET

Untitled

a guest Dec 14th, 2019 115 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const checkTrue = (bool1,bool2) =>{
  2.     if (bool1 != bool2){
  3.         return false
  4.     }else{
  5.         return true
  6.     }
  7. }
  8.  
  9. console.log(checkTrue(true,true))
  10. console.log(checkTrue(true,false))
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top