You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a beginner in Javascript, I thought It would not required to write jobTitle==="*" in else condition ?
if(jobTitle==='*'){if(year==='*'){title="The average H1B in tech pays";}else{title="The average tech H1B paid";}}else{if(jobTitle==='*'){title="H1Bs in tech pay";}else{title=`Software ${jobTitle}s on an H1B`;if(year==='*'){title+=" make";}else{title+=" made";}}}
The text was updated successfully, but these errors were encountered:
As a beginner in Javascript, I thought It would not required to write jobTitle==="*" in else condition ?
The text was updated successfully, but these errors were encountered: