Comparison operators can be used in conditional statements to compare values and take action depending on the result:

if (age<18) document.write("Too young");


This entry was posted on 11:11 PM and is filed under . You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

0 comments: