answersLogoWhite

0

AND is a logic operator.

"AND" is represented in javascript with this symbol "&&"

You can have an "if" statement where you need 2 or more conditions to be met.

Here is an example

if(a 2){

c=3;

}

This "if" is true ONLY if a=1 AND b=2, thus c will only be assigned the value "3" if the condition is met.

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

How do you find JavaScript on your computer?

You don't. JavaScript is a special type of language which you will typically find embedded in the program which use them. For example, each web browser on your computer will have its own version of JavaScript.


How do you download JavaScript for your IPod?

A computer


What has the author Nicholas C Zakas written?

Nicholas C. Zakas has written: 'Professional JavaScript for Web developers' -- subject(s): Web site development, JavaScript (Computer program language), OverDrive, Computer Technology, Nonfiction 'Javascript Para Desarrolladores Web/javascript for Web Development (Anaya Multimedia)' 'Professional Ajax' -- subject(s): World Wide Web, JavaScript (Computer program language), Asynchronous transfer mode, Web sites, Ajax (Web site development technology), Design, Computer programs, Authoring programs, OverDrive, Computer Technology, Nonfiction 'Maintainable JavaScript' 'JavaScript and Ajax Wrox Box'


How do you enable javascript on your computer?

Javascript is a website feature. To turn it on, go into the "options" or "preferences" menu item of your web browser. Javascript controls will be found there.


Can you use javascript in Mozilla?

Yes. In fact, you can use JavaScript in any web browser.


What has the author Martin Webb written?

Martin Webb has written: 'Instant JavaScript' -- subject(s): Computer Technology, JavaScript (Computer program language), Nonfiction, OverDrive


How do you use javascript in aspnet?

Ajax, I believe uses JavaScript + ASP.


What has the author George Pickering written?

George Pickering has written: 'JavaScript how-to' -- subject(s): JavaScript (Computer program language)


Java run in any computer but java script not why?

Java and Javascript are not the same thing and are not realted to each other. Javascript is not run on "computers" it is run on browsers (which admitedly run on computers) So, if your computer has a browser, it most likely runs javascript, of course this depends on the browser, but all major browser run javascript.


What are the main functions of Javascript?

Javascript can be used on a variety of platforms which require simple computer commands but not a full programming language. Javascript can be used as or in addition to a full fledged programming language.


How do you get the popup javascript box?

Use confirm or alert in javascript code to get a popup


Use Javascript?

It will help