Testing Fundamentals - Non-Functional Testing
Identify the bug in this JavaScript security test function:
function checkInput(input) {
if(input = "admin") {
return true;
} else {
return false;
}
}