If a variable has been assigned a string and you tested it within an if statement it would be true, why?
hide ='string'
if (hide) {
otherText.value = '';
}
If a variable has been assigned a string and you tested it within an if statement it would be true, why?
hide ='string'
if (hide) {
otherText.value = '';
}