New course! Every coder should learn Generative AI!
Try a free lesson+ 1
Help with oldPass & newPass
function main() { var oldPass = readLine(); var newPass = readLine(); // Your code goes here }
1 Answer
+ 1
It is looking for the boolean of are they equal. Remember to use == for example and not just = in the test. = is an assignment == is testing for equality and === tests for strict equality (including type). In this case == is sufficient