Advertisement
Guest User

Untitled

a guest
May 20th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function solve (input) {
  2.  
  3.     let t1 = input.shift();
  4.     let t2 = input.shift();
  5.    
  6.     if (t1 === t2) {
  7.      console.log("yes")
  8.     } else if (t1 != t2) {
  9.      console.log("no")
  10.     }
  11.  
  12.  
  13.   }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement