answersLogoWhite

0

Boolean means yes or no, true or false, 0 or 1. There can only be 2 alternatives in boolean. In JavaScript there is a function typeof which will show whether variable is boolean, string, integer or any other. I am providing a few examples. Try those and you will understand what type of variable is provided

var a = 12;

alert("Variable is of type: "+typeof(a));

var a = "hello";

alert("Variable is of type: "+typeof(a));

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

Are you supposed to mix absolute vodka in anything?

you dont have to.. but you can


What state would oxygen be at temperature absolute zero?

At absolute zero molecules are not supposed to move, so in theory everything would be a solid


What is absolute pressure of 110 kpa gage at standard condition?

You are supposed to add that pressure to the atmospheric pressure.


What is the word autocratic supposed to mean?

a government where a person has unlimited authority over others, related to autocrat and autocracy


Are you supposed to twist your earing after having it pierced?

No. Do your absolute best not to. The outside of the ring will be dirty and germy so turning it will only introduce new germs to the piercing.


Can you think of nothing?

Try thinking about absolute nothing. Can you do it?Remember, you mustn't be thinking about a black and empty space. For if you're thinking about a black and empty space, you are still thinking about something - that black and empty space. You are supposed to be thinking about absolute nothing.I am not sure I can think about absolute nothing. I just seem to end up not thinking about anything!But maybe you can do it?


On gaia online where can you get your driver's license for your car?

I think you are either a beginner on gaia online and you think there is supposed to be a license or you saw someone on gaia with the license, you don't buy one, but if you still think you do you can search the marketplace. But you don't need a drivers license to race in gaia.


What is the definition of inductive reasoning?

Inductive reasoning is " reasoning in which the premises seek to supply strong evidence for (not absolute proof of) the truth of the conclusion. While the conclusion of a deductive argument is supposed to be certain, the truth of the conclusion of an inductive argument is supposed to be probable, based upon the evidence given.". This is the reasoning behind most for scientific and mathematical studies.


Whats joejoe last name?

How am I supposed to know?!?!How am I supposed to know?!?!How am I supposed to know?!?!How am I supposed to know?!?!How am I supposed to know?!?!


Where was Constantine baptized?

Constantine was supposed to have been baptized on his deathbed.Constantine was supposed to have been baptized on his deathbed.Constantine was supposed to have been baptized on his deathbed.Constantine was supposed to have been baptized on his deathbed.Constantine was supposed to have been baptized on his deathbed.Constantine was supposed to have been baptized on his deathbed.Constantine was supposed to have been baptized on his deathbed.Constantine was supposed to have been baptized on his deathbed.Constantine was supposed to have been baptized on his deathbed.


Is a tattoo supposed to peel like a sunburn?

No, its supposed to stay on your skin forever. Yes, it is supposed to peel and you also are supposed to moisturize.


How are the absolute temperature and volume of a gas at constant pressure related?

The absolute temperature of a gas is directly proportional to its volume when pressure is constant, according to Charles's Law. This means that as temperature increases, the volume of the gas will also increase, and vice versa.