Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const checkTrue = (bool1,bool2) =>{
- if (bool1 != bool2){
- return false
- }else{
- return true
- }
- }
- console.log(checkTrue(true,true))
- console.log(checkTrue(true,false))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement