<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://ideawaza.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=142.33.0.0%2F16</id>
	<title>IdeaWazaWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://ideawaza.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=142.33.0.0%2F16"/>
	<link rel="alternate" type="text/html" href="https://ideawaza.com/wiki/Special:Contributions/142.33.0.0/16"/>
	<updated>2026-09-30T03:26:25Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://ideawaza.com/index.php?title=Precipitation_(chemistry)&amp;diff=19320</id>
		<title>Precipitation (chemistry)</title>
		<link rel="alternate" type="text/html" href="https://ideawaza.com/index.php?title=Precipitation_(chemistry)&amp;diff=19320"/>
		<updated>2008-12-04T20:40:32Z</updated>

		<summary type="html">&lt;p&gt;142.33.132.119: /* Applications */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:Chemical precipitation diagram.png|thumb|right|Chemical Precipitation]]&lt;br /&gt;
{{redirect|Precipitate|the album by Interpol|Precipitate EP}}&lt;br /&gt;
&#039;&#039;&#039;Precipitation&#039;&#039;&#039; is the formation of a [[solid]] in a [[solution]] during a [[chemical reaction]].  When the reaction occurs, the solid formed is called the &#039;&#039;&#039;precipitate&#039;&#039;&#039;, and the liquid remaining above the solid is called the &#039;&#039;&#039;supernate&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
==Applications==&lt;br /&gt;
[[Image:Tetratolylporphyrin.jpg|thumb|right|Crystals of &#039;&#039;meso&#039;&#039;-tetratolylporphyrin from refluxing [[propionic acid]] precipitate on cooling]]&lt;br /&gt;
Precipitation reactions can be used for making [[pigments]], removing [[salts]] from water in [[water treatment]], and in [[classical qualitative inorganic analysis]].&lt;br /&gt;
&lt;br /&gt;
Precipitation is also useful to isolate the products of a reaction during [[workup (chemistry)|workup]]. Ideally, the product of the reaction is insoluble in the reaction solvent. Thus, it precipitates as it is formed, preferably [[crystallization|forming pure crystals]]. An example of this would be the synthesis of [[porphyrin]]s in refluxing [[propionic acid]]. By cooling the reaction mixture to room temperature, crystals of the porphyrin precipitate, and are collected by filtration:&amp;lt;ref&amp;gt;{{cite journal | author = A. D. Adler; F. R. Longo; J. D. Finarelli; J. Goldmacher; J. Assour; L. Korsakoff | title = A simplified synthesis for meso-tetraphenylporphine | year = 1967 | journal = [[J. Org. Chem.]] | volume = 32 | issue = 2 | pages = 476–476 | doi = 10.1021/jo01288a053 }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:[[Image:H2TPPsyn.png|400px]]&lt;br /&gt;
Precipitation may also occur when an &#039;&#039;antisolvent&#039;&#039; (a solvent in which the product is insoluble) is added, drastically reducing the solubility of the desired product. Thereafter, the precipitate may easily be separated by [[filtration]], [[decanting]], or [[centrifugation]]). An example would be the synthesis of chromic tetraphenylporphyrin chloride: water is added to the DMF reaction solution, and the product precipitates.&amp;lt;ref&amp;gt;{{cite journal | doi = 10.1016/0022-1902(70)80535-8 | title = On the preparation of metalloporphyrins | year = 1970 | author = Alan D. Adler; Frederick R. Longo; Frank Kampas; Jean Kim| journal = Journal of Inorganic and Nuclear Chemistry | volume = 32 | pages = 2443 }}&amp;lt;/ref&amp;gt; Precipitation is also useful in purifying products: crude bmim-Cl is taken up in [[acetonitrile]], and dropped into ethyl acetate, where it precipitates.&amp;lt;ref&amp;gt;{{OrgSynth | author = Dupont, J., Consorti, C., Suarez, P., de Souza, R. | title = Preparation of 1-Butyl-3-methyl imidazolium-based Room Temperature Ionic Liquids | collvol = 10 | collvolpages = 184 | year = 2004 | prep = v79p0236}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In [[metallurgy]], precipitation from a [[solid solution]] is also a useful way to [[precipitation strengthening|strengthen alloy]]s; this process is known as [[solid solution strengthening]].&lt;br /&gt;
&lt;br /&gt;
i was here&lt;br /&gt;
&lt;br /&gt;
== Mechanism ==&lt;br /&gt;
Precipitation can occur when an [[solubility|insoluble]] substance is formed in the [[solution (chemistry)|solution]] due to a [[chemical reaction]] or when the solution has been [[supersaturated]] by a [[compound (chemistry)|compound]]. The formation of a precipitate is a sign of a [[chemical change]]. In most situations, the solid forms (&amp;quot;falls&amp;quot;) out of the solute phase, and sinks to the bottom of the solution (though it will float if it is less dense than the solvent, or form a [[suspension (chemistry)|suspension]]).&lt;br /&gt;
&lt;br /&gt;
The solid may reach the bottom of a container by means of [[settling]], [[sediment]]ation, or [[centrifugation]].&lt;br /&gt;
&lt;br /&gt;
An important stage of the precipitation process is the onset of [[nucleation]].  The creation of a hypothetical solid [[particle]] includes the formation of an [[interface (chemistry)|interface]], which requires some [[energy (chemistry)|energy]] based on the relative [[surface energy]] of the solid and the solution.  If this energy is not available, and no suitable nucleation surface is available, [[supersaturation]] occurs.&lt;br /&gt;
&lt;br /&gt;
== Representation using chemical equations ==&lt;br /&gt;
An example of a precipitation reaction: Aqueous [[silver nitrate]] (AgNO&amp;lt;sub&amp;gt;3&amp;lt;/sub&amp;gt;) is added to a solution containing [[potassium chloride]] (KCl) and the precipitation of a white solid, [[silver chloride]] is observed. (Zumdahl, 2005)&lt;br /&gt;
&lt;br /&gt;
:AgNO&amp;lt;sub&amp;gt;3&amp;lt;/sub&amp;gt; (aq) + KCl (aq) → AgCl (s) + KNO&amp;lt;sub&amp;gt;3&amp;lt;/sub&amp;gt; (aq)&lt;br /&gt;
     &lt;br /&gt;
The silver chloride(AgCl) has formed a solid, which is observed as a precipitate.&lt;br /&gt;
&lt;br /&gt;
This reaction can be written emphasizing the [[dissociation|dissociated]] [[ions]] in a combined solution.  This is known as the [[ionic equation]].&lt;br /&gt;
:Ag&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt; (aq) + NO&amp;lt;sub&amp;gt;3&amp;lt;/sub&amp;gt;&amp;lt;sup&amp;gt;-&amp;lt;/sup&amp;gt; (aq) + K&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt; (aq) + Cl&amp;lt;sup&amp;gt;-&amp;lt;/sup&amp;gt; (aq) → AgCl (s) + K&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt; (aq) + NO&amp;lt;sub&amp;gt;3&amp;lt;/sub&amp;gt;&amp;lt;sup&amp;gt;-&amp;lt;/sup&amp;gt; (aq)&lt;br /&gt;
&lt;br /&gt;
A final way to represent a precipitate reaction is known as a &#039;&#039;net ionic reaction&#039;&#039;. In this case, any [[spectator ions]] (those which do not contribute to the reaction) are left out of the formula completely. This simplifies the above equations to the following:&lt;br /&gt;
:Ag&amp;lt;sup&amp;gt;+&amp;lt;/sup&amp;gt; (aq) + Cl&amp;lt;sup&amp;gt;-&amp;lt;/sup&amp;gt; (aq) → AgCl (s)&lt;br /&gt;
&lt;br /&gt;
==Cation sensitivity==&lt;br /&gt;
Precipitate formation is useful in the detection of the type of [[cation]] in [[salt]]. To do this, an [[alkali]] first reacts with the unknown salt to produce a precipitate which is the [[hydroxide]] of the unknown salt. To identify the cation, the color of the precipitate and its solubility in excess are noted.  Similar processes are often used to separate chemically similar elements, such as the [[Alkali earth metals]].&lt;br /&gt;
&lt;br /&gt;
==Digestion==&lt;br /&gt;
Digestion, or &#039;&#039;precipitate ageing&#039;&#039;, happens when a freshly-formed precipitate is left, usually at a higher [[temperature]], in the solution from which it is precipitated. It results in cleaner and bigger particles.&amp;lt;ref&amp;gt;{{cite web |url=http://www.ktf-split.hr/glossary/en_o.php?def=digestion |title=Chemical dictionary definition |accessdate=2008-02-26}}&amp;lt;/ref&amp;gt; The physico-chemical process underlying digestion is called [[Ostwald ripening]].&lt;br /&gt;
&lt;br /&gt;
==Coprecipitation==&lt;br /&gt;
{{main|coprecipitation}}&lt;br /&gt;
Coprecipitation is the carrying down by a precipitate of substances normally soluble under the conditions employed. It is an important issue in chemical analysis, where it is often undesirable, but in some cases it can be exploited. In [[gravimetric analysis]], it is a problem because undesired impurities often coprecipitate with the analyte, resulting in excess mass. On the other hand, in the analysis of trace elements, as is often the case in [[radiochemistry]], coprecipitation is often the only way of separating an element.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
*Zumdahl, Steven S. &#039;&#039;Chemical Principles.&#039;&#039; 4&amp;lt;sup&amp;gt;th&amp;lt;/sup&amp;gt; ed. New York: Houghton Mifflin Company, 2005.&lt;br /&gt;
*Mark Smith &#039;&#039;Principles of Science&#039;&#039; 1993&lt;br /&gt;
{{reflist}}&lt;br /&gt;
{{refimprove|date=February 2008}}&lt;br /&gt;
&lt;br /&gt;
==Further reading==&lt;br /&gt;
*Banert, T., Brenner, G., Peuker, U. A. (2006), Operating parameters of a continuous sono-chemical precipitation reactor, Proc. 5. WCPT, Orlando Fl., 23.-27. April 2006.&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
{{Commonscat|Solid precipitation}}&lt;br /&gt;
* [http://www.hielscher.com/ultrasonics/precipitation_01.htm Continuous Precipitation Using Ultrasonication (e.g. for nano-size magnetite particles)]&lt;br /&gt;
* http://www.answers.com/supernatant&lt;br /&gt;
&lt;br /&gt;
[[Category:Separation processes]]&lt;br /&gt;
[[Category:Chemical processes]]&lt;br /&gt;
&lt;br /&gt;
[[ca:Precipitació (química)]]&lt;br /&gt;
[[da:Fældningsreaktion]]&lt;br /&gt;
[[de:Fällung]]&lt;br /&gt;
[[es:Precipitado]]&lt;br /&gt;
[[fr:Précipité]]&lt;br /&gt;
[[gl:Precipitación (reacción)]]&lt;br /&gt;
[[it:Precipitazione (chimica)]]&lt;br /&gt;
[[he:תגובת שיקוע]]&lt;br /&gt;
[[nl:Neerslag (scheikunde)]]&lt;br /&gt;
[[ja:沈殿]]&lt;br /&gt;
[[no:Fellingsreaksjon]]&lt;br /&gt;
[[nn:Fellingsreaksjon]]&lt;br /&gt;
[[pt:Precipitação (química)]]&lt;br /&gt;
[[ru:Преципитат (химия)]]&lt;br /&gt;
[[sk:Precipitácia]]&lt;br /&gt;
[[su:Présipitasi]]&lt;br /&gt;
[[sv:Utfällning]]&lt;br /&gt;
[[ur:عمل ترسیب]]&lt;br /&gt;
[[zh:沉淀]]&lt;/div&gt;</summary>
		<author><name>142.33.132.119</name></author>
	</entry>
	<entry>
		<id>https://ideawaza.com/index.php?title=JavaScript/Basics&amp;diff=36913</id>
		<title>JavaScript/Basics</title>
		<link rel="alternate" type="text/html" href="https://ideawaza.com/index.php?title=JavaScript/Basics&amp;diff=36913"/>
		<updated>2007-11-28T18:52:37Z</updated>

		<summary type="html">&lt;p&gt;142.33.163.2: /* String Operator */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;[[Basic JavaScript]] is a course under the [[Topic:Javascript | topic of JavaScript]]&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
What you should know - HTML/XHTML&lt;br /&gt;
&lt;br /&gt;
Basics - &lt;br /&gt;
*JavaScript is the most popular web page scripting language and is suppported by almost every browser.&lt;br /&gt;
*It adds interactivity to your web pages.&lt;br /&gt;
*You can use only the tools already on your computer without the need to download any software.&lt;br /&gt;
*It is easy and fun&lt;br /&gt;
&lt;br /&gt;
== First Lesson ==&lt;br /&gt;
&lt;br /&gt;
Open up your text editor of choice and create a basic page. Now I am going to teach you how to write on your webpage using JavaScript.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;html&amp;gt;&lt;br /&gt;
 	&amp;lt;body&amp;gt;&lt;br /&gt;
 		&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;
 			document.write(&amp;quot;Hello World!&amp;quot;)&lt;br /&gt;
 		&amp;lt;/script&amp;gt;&lt;br /&gt;
 	&amp;lt;/body&amp;gt;&lt;br /&gt;
 &amp;lt;/html&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As you can see, JavaScript is added directly into your HTML by adding the &amp;lt;script&amp;gt; tag. You don&#039;t have to understand exactly how that worked, I&#039;m about to explain. &lt;br /&gt;
&lt;br /&gt;
To start off with, the &amp;lt;code&amp;gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&amp;lt;/code&amp;gt; tag tells the browser that whatever comes between that tag and the coming &amp;lt;/script&amp;gt; tag is script, and the &amp;lt;code&amp;gt;type=&amp;quot;text/javascript&amp;quot;&amp;lt;code&amp;gt; tells it that it is JavaScript. Similarly, to use [[wikipedia:VBScript | VBScript]], you might use &amp;lt;code&amp;gt;type=&amp;quot;text/vbscript&amp;quot;&amp;lt;/code&amp;gt; instead of &amp;lt;code&amp;gt;&amp;quot;text/javascript&amp;quot;&amp;lt;/code&amp;gt;. For the purposes of this course, though, you should only ever need to use the JavaScript tag.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
It is also important to note that the &amp;lt;code&amp;gt;script&amp;lt;/code&amp;gt; tag is case sensitive. What this means is if you use lowercase letters in the tag, all the letters in the tag must be lowercase, and uppercase if you use any uppercase. For example, if you wrote &lt;br /&gt;
 &amp;lt;ScRiPt TyPe=&amp;quot;TeXt/JaVaScRiPt&amp;quot;&amp;gt;&lt;br /&gt;
not only would you waste a lot of time typing, but you would also confuse your browser.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
You are probably wondering when I&#039;m going to explain the rest of what you did. Well, &amp;lt;code&amp;gt;document.write()&amp;lt;/code&amp;gt; is the JavaScript standard for writing text to the browser window. The &#039;document&#039; clause refers to the HTML webpage (termed a document) as a whole; what follows (&#039;&amp;lt;code&amp;gt;.write()&amp;lt;/code&amp;gt;&#039;) is a command for the document object to carry out.  In this case, you told the page to write the classic &amp;quot;&amp;lt;code&amp;gt;Hello World&amp;lt;/code&amp;gt;&amp;quot; to the screen.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
These are the absolute essentials to understand for starting JavaScript.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
--[[User:Xora K Joken|Xora K Joken]] 19:18, 3 April 2007 (UTC)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Second Lesson==&lt;br /&gt;
&lt;br /&gt;
This second lesson will introduce the topics of variables and operators.&lt;br /&gt;
&lt;br /&gt;
===Variables===&lt;br /&gt;
&lt;br /&gt;
One of the things JavaScript is used for is the manipulation of data. In JavaScript, pieces of data can be stored either in variables or arrays.&lt;br /&gt;
&lt;br /&gt;
Variables are declared using the &#039;&#039;var&#039;&#039; keyword:&lt;br /&gt;
 var numValue;&lt;br /&gt;
 var textValue;&lt;br /&gt;
 var binaryValue;&lt;br /&gt;
and can be given values when they are created:&lt;br /&gt;
 var numValue = 3;&lt;br /&gt;
 var textValue = &amp;quot;This is text.&amp;quot;;&lt;br /&gt;
 var binaryValue = true;&lt;br /&gt;
Multiple variables can even be declared at the same time:&lt;br /&gt;
 var numValue = 3, textValue = &amp;quot;This is text.&amp;quot;, binaryValue = true;&lt;br /&gt;
Variables in JavaScript are weakly typed, meaning that the types of individual variables are not determined by the programmer. Unlike many languages, JavaScript only provides a generic &#039;&#039;var&#039;&#039; rather than separate types for integers, floating point numbers, characters, and strings. For example, in the statement&lt;br /&gt;
 var x = 0;&lt;br /&gt;
it is fairly obvious to any individual reading the code that &amp;lt;code&amp;gt;x&amp;lt;/code&amp;gt; is a number. However, if the statement&lt;br /&gt;
 x = x + &amp;quot;This is text that is probably not a number&amp;quot;;&lt;br /&gt;
were to appear later in the code, JavaScript would change the variable to a text variable. This is one of the reasons that JavaScript is referred to as weakly typed; at any particular point in time, it is impossible to tell exactly what type a particular variable is.&lt;br /&gt;
&lt;br /&gt;
====Arrays====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Arrays in most languages are a means of collecting variables so that they can be referred to by an index. This is usually a numerical index beginning at 0(i.e., 0,1,2,...), but does not necessarily have to be a number. Arrays are declared in several ways; they can be declared either explicitly, indicating the number of variables in the array:&lt;br /&gt;
&lt;br /&gt;
 var colors = new Array(7);&lt;br /&gt;
&lt;br /&gt;
or not:&lt;br /&gt;
&lt;br /&gt;
 var colors = new Array();&lt;br /&gt;
&lt;br /&gt;
In the last case, the programmer leaves the number of colors open-ended. This may allow him to be more flexible in the long run. &lt;br /&gt;
&lt;br /&gt;
To use a particular variable within the array, simply indicate the index of the element using brackets:&lt;br /&gt;
&lt;br /&gt;
 colors[2] = &amp;quot;orange&amp;quot;;&lt;br /&gt;
 x = colors[7] ;&lt;br /&gt;
 z = &amp;quot;The book&#039;s color is &amp;quot; + colors[5] + &amp;quot;.&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It was mentioned before that arrays can use indexes other than numbers. One example of this might be using an index based on text instead of numbers. We might wish to index on the names of various fruits to get their colors:&lt;br /&gt;
 &lt;br /&gt;
 colors[&amp;quot;lemon&amp;quot;] = &amp;quot;yellow&amp;quot;;&lt;br /&gt;
 colors[&amp;quot;lime&amp;quot;] = &amp;quot;green&amp;quot;;&lt;br /&gt;
 colors[&amp;quot;cherry&amp;quot;] = &amp;quot;red&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
Programs can be made significantly more readable using this feature.&lt;br /&gt;
&lt;br /&gt;
 document.write(&amp;quot;The color of a cherry is &amp;quot; + colors[cherry]&lt;br /&gt;
                     + &amp;quot;, but the color of a lime is &amp;quot; + colors[lime]);&lt;br /&gt;
&lt;br /&gt;
===Operators===&lt;br /&gt;
----&lt;br /&gt;
==== Arithmatic Operators ====&lt;br /&gt;
{| border=1 cellspacing=0 cellpadding=5&lt;br /&gt;
| &#039;&#039;&#039;Operator&#039;&#039;&#039;&lt;br /&gt;
| &#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
| &#039;&#039;&#039;Example&#039;&#039;&#039;&lt;br /&gt;
| &#039;&#039;&#039;Result&#039;&#039;&#039;&lt;br /&gt;
|- &lt;br /&gt;
| +&lt;br /&gt;
| Addition&lt;br /&gt;
| x = 2&lt;br /&gt;
y = 2&lt;br /&gt;
&lt;br /&gt;
x + y&lt;br /&gt;
| 4&lt;br /&gt;
|-&lt;br /&gt;
| -&lt;br /&gt;
| Subtraction&lt;br /&gt;
| x = 5&lt;br /&gt;
y = 2&lt;br /&gt;
&lt;br /&gt;
x - y&lt;br /&gt;
| 3&lt;br /&gt;
|-&lt;br /&gt;
| *&lt;br /&gt;
| Multiplication&lt;br /&gt;
| x = 5&lt;br /&gt;
y = 4&lt;br /&gt;
&lt;br /&gt;
x * y&lt;br /&gt;
| 20&lt;br /&gt;
|-&lt;br /&gt;
| /&lt;br /&gt;
| Division&lt;br /&gt;
| 15 / 5&lt;br /&gt;
5 / 2&lt;br /&gt;
| 3&lt;br /&gt;
2.5&lt;br /&gt;
|-&lt;br /&gt;
| %&lt;br /&gt;
| Modulus (division remainder)&lt;br /&gt;
| 5 % 2&lt;br /&gt;
10 % 8&lt;br /&gt;
&lt;br /&gt;
10 % 2 &lt;br /&gt;
| 1&lt;br /&gt;
2&lt;br /&gt;
&lt;br /&gt;
0&lt;br /&gt;
|-&lt;br /&gt;
| ++&lt;br /&gt;
| Increment&lt;br /&gt;
| x = 5&lt;br /&gt;
x++&lt;br /&gt;
| 6&lt;br /&gt;
|-&lt;br /&gt;
| --&lt;br /&gt;
| Decrement&lt;br /&gt;
| x = 5&lt;br /&gt;
x--&lt;br /&gt;
| 4&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Assignment Operators ====&lt;br /&gt;
{| border=1 cellspacing=0 cellpadding=5&lt;br /&gt;
| &#039;&#039;&#039;Operator&#039;&#039;&#039;&lt;br /&gt;
| &#039;&#039;&#039;Example&#039;&#039;&#039;&lt;br /&gt;
| &#039;&#039;&#039;Is The Same As&#039;&#039;&#039;&lt;br /&gt;
|- &lt;br /&gt;
| =&lt;br /&gt;
| x = y&lt;br /&gt;
| x = y&lt;br /&gt;
|-&lt;br /&gt;
| +=&lt;br /&gt;
| x += y&lt;br /&gt;
| x = x + y&lt;br /&gt;
|-&lt;br /&gt;
| -=&lt;br /&gt;
| x -= y&lt;br /&gt;
| x = x - y&lt;br /&gt;
|-&lt;br /&gt;
| *=&lt;br /&gt;
| x *= y&lt;br /&gt;
| x = x * y&lt;br /&gt;
|-&lt;br /&gt;
| /=&lt;br /&gt;
| x /= y&lt;br /&gt;
| x = x / y&lt;br /&gt;
|-&lt;br /&gt;
| %=&lt;br /&gt;
| x %= y&lt;br /&gt;
| x = x % y&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Comparison Operators ====&lt;br /&gt;
{| border=1 cellspacing=0 cellpadding=5&lt;br /&gt;
| &#039;&#039;&#039;Operator&#039;&#039;&#039;&lt;br /&gt;
| &#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
| &#039;&#039;&#039;Example&#039;&#039;&#039;&lt;br /&gt;
|- &lt;br /&gt;
| ==&lt;br /&gt;
| is equal to&lt;br /&gt;
| 5 == 8 returns false&lt;br /&gt;
|-&lt;br /&gt;
| ===&lt;br /&gt;
| is equal to (checks for both value and type)&lt;br /&gt;
| x = 5 &lt;br /&gt;
y = &amp;quot;5&amp;quot;&lt;br /&gt;
&lt;br /&gt;
x == y returns true&lt;br /&gt;
&lt;br /&gt;
x === y returns false&lt;br /&gt;
|-&lt;br /&gt;
| !=&lt;br /&gt;
| is not equal&lt;br /&gt;
| 5 != 8 returns true&lt;br /&gt;
|-&lt;br /&gt;
| &amp;gt;&lt;br /&gt;
| is greater than&lt;br /&gt;
| 5 &amp;gt; 8 returns false&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;&lt;br /&gt;
| is less than&lt;br /&gt;
| 5 &amp;lt; 8 returns true&lt;br /&gt;
|-&lt;br /&gt;
| &amp;gt;=&lt;br /&gt;
| is greater than or equal to &lt;br /&gt;
| 5 &amp;gt;= 8 returns false&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;=&lt;br /&gt;
| is less than or equal to&lt;br /&gt;
| 5 &amp;lt;= 8 returns true&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Logical Operators ====&lt;br /&gt;
{| border=1 cellspacing=0 cellpadding=5&lt;br /&gt;
| &#039;&#039;&#039;Operator&#039;&#039;&#039;&lt;br /&gt;
| &#039;&#039;&#039;Description&#039;&#039;&#039;&lt;br /&gt;
| &#039;&#039;&#039;Example&#039;&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;amp;&amp;amp;&lt;br /&gt;
| and&lt;br /&gt;
| x = 6&lt;br /&gt;
y = 3&lt;br /&gt;
&lt;br /&gt;
(x &amp;lt; 10 &amp;amp;&amp;amp; y &amp;gt; 1) returns true&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;nowiki&amp;gt;||&amp;lt;/nowiki&amp;gt;&amp;lt;!-- Fixed --&amp;gt;&lt;br /&gt;
| or&lt;br /&gt;
| x = 6&lt;br /&gt;
y = 3&lt;br /&gt;
&lt;br /&gt;
(x == 5 || y == 5) returns false&lt;br /&gt;
|-&lt;br /&gt;
| !&lt;br /&gt;
| not&lt;br /&gt;
| x = 6&lt;br /&gt;
y = 3&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;!(x == y) returns true&amp;lt;/nowiki&amp;gt; &amp;lt;!-- Fixed. --&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== String Operator ====&lt;br /&gt;
The string operator is used to [[w:concatenate | concatenate]] two strings together. For example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; var x = &amp;quot;Hello &amp;quot; + &amp;quot;world!&amp;quot; &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above example would result in the variable x equaling &amp;quot;Hello world!&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==== Conditional Operator ====&lt;br /&gt;
JavaScript also contains a conditional operator that assigns a value to a variable based on some condition.&lt;br /&gt;
&lt;br /&gt;
The syntax would be:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; variablename = ( condition ) ? value1 : value2 &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; greeting = ( visitor == &amp;quot;PRES&amp;quot; ) ? &amp;quot;Dear President &amp;quot; : &amp;quot;Dear &amp;quot; &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:JavaScript]]&lt;br /&gt;
[[Category:Basics]]&lt;/div&gt;</summary>
		<author><name>142.33.163.2</name></author>
	</entry>
</feed>