Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function solve (input) {
- let t1 = input.shift();
- let t2 = input.shift();
- if (t1 === t2) {
- console.log("yes")
- } else if (t1 != t2) {
- console.log("no")
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement