function solution(num1, num2) { var answer = 0; if(num1 === num2){ answer = 1; }else{ answer = -1; } return answer; }
return num1 === num2 ? 1 : -1;