<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
		<id>http://wbex.ru/index.php?action=history&amp;feed=atom&amp;title=JavaScript_Tutorial%2FOperators%2FRelational_Operators</id>
		<title>JavaScript Tutorial/Operators/Relational Operators - История изменений</title>
		<link rel="self" type="application/atom+xml" href="http://wbex.ru/index.php?action=history&amp;feed=atom&amp;title=JavaScript_Tutorial%2FOperators%2FRelational_Operators"/>
		<link rel="alternate" type="text/html" href="http://wbex.ru/index.php?title=JavaScript_Tutorial/Operators/Relational_Operators&amp;action=history"/>
		<updated>2026-04-04T15:09:25Z</updated>
		<subtitle>История изменений этой страницы в вики</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://wbex.ru/index.php?title=JavaScript_Tutorial/Operators/Relational_Operators&amp;diff=9153&amp;oldid=prev</id>
		<title>Admin: 1 версия</title>
		<link rel="alternate" type="text/html" href="http://wbex.ru/index.php?title=JavaScript_Tutorial/Operators/Relational_Operators&amp;diff=9153&amp;oldid=prev"/>
				<updated>2010-05-26T08:24:51Z</updated>
		
		<summary type="html">&lt;p&gt;1 версия&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Предыдущая&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Версия 08:24, 26 мая 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;text-align: center;&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	<entry>
		<id>http://wbex.ru/index.php?title=JavaScript_Tutorial/Operators/Relational_Operators&amp;diff=9152&amp;oldid=prev</id>
		<title> в 18:52, 25 мая 2010</title>
		<link rel="alternate" type="text/html" href="http://wbex.ru/index.php?title=JavaScript_Tutorial/Operators/Relational_Operators&amp;diff=9152&amp;oldid=prev"/>
				<updated>2010-05-25T18:52:56Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== A Comparison Operator returns boolean variable==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;title&amp;gt;A Comparison Operator Demo&amp;lt;/title&amp;gt;&lt;br /&gt;
&amp;lt;script language=&amp;quot;javascript&amp;quot; type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
var myVar = 2.5;&lt;br /&gt;
alert(myVar &amp;lt; 3);&lt;br /&gt;
//--&amp;gt;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;/head&amp;gt;&lt;br /&gt;
&amp;lt;body&amp;gt;&lt;br /&gt;
&amp;lt;h1&amp;gt;A Comparison Operator Demo&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
== Equal and Not Equal==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;title&amp;gt;A Simple Page&amp;lt;/title&amp;gt;&lt;br /&gt;
&amp;lt;script language=&amp;quot;JavaScript&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
var x = 0;&lt;br /&gt;
while (x &amp;lt; 10)&lt;br /&gt;
{&lt;br /&gt;
    x++;&lt;br /&gt;
    if (x % 2 != 0)&lt;br /&gt;
    {&lt;br /&gt;
    continue;&lt;br /&gt;
    }&lt;br /&gt;
    document.write(x);&lt;br /&gt;
}&lt;br /&gt;
//  --&amp;gt;&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;/head&amp;gt;&lt;br /&gt;
&amp;lt;body&amp;gt;&lt;br /&gt;
&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
&amp;lt;p&amp;gt;The equal operator in JavaScript is the double equal sign (==), and it returns true if both operands are equal.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;The not equal operator is the exclamation point followed by an equal sign (!=), and it returns true if operands are not equal.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Both operators do conversions in order to determine if two operands are equal.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;When performing conversions, follow these basic rules:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;OL&amp;gt;&amp;lt;LI&amp;gt;If an operand is a Boolean value, convert it into a numeric value before checking for equality. A value of false converts to 0; whereas a value of true converts to 1.&amp;lt;/LI&amp;gt;&amp;lt;LI&amp;gt;If one operand is a string and the other is a number, attempt to convert the string into a number before checking for equality.&amp;lt;/LI&amp;gt;&amp;lt;LI&amp;gt;If one operand is an object and the other is a string, attempt to convert the object to a string (using the toString() method) before checking for equality.&amp;lt;/LI&amp;gt;&amp;lt;LI&amp;gt;If one operand is an object and the other is a number, attempt to convert the object to a number before checking for equality.&amp;lt;/LI&amp;gt;&amp;lt;LI&amp;gt;Values of null and undefined are equal.&amp;lt;/LI&amp;gt;&amp;lt;LI&amp;gt;Values of null and undefined cannot be converted into any other values for equality checking.&amp;lt;/LI&amp;gt;&amp;lt;LI&amp;gt;If either operand is NaN, the equal operator returns false and the not equal operator returns true.&amp;lt;/LI&amp;gt;&amp;lt;LI&amp;gt;If both operands are NaN, the equal operator returns false because, by rule, NaN is not equal to NaN.&amp;lt;/LI&amp;gt;&amp;lt;LI&amp;gt;If both operands are objects, then the reference values are compared.&amp;lt;/LI&amp;gt;&amp;lt;LI&amp;gt;If both operands point to the same object, then the equal operator returns true. Otherwise, the two are not equal.&amp;lt;/LI&amp;gt;&amp;lt;/OL&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;The following table lists some special cases and their results:&amp;lt;/p&amp;gt;&lt;br /&gt;
Expression&lt;br /&gt;
Value&lt;br /&gt;
null == undefined&lt;br /&gt;
true&lt;br /&gt;
&amp;quot;NaN&amp;quot; == NaN&lt;br /&gt;
false&lt;br /&gt;
5 == NaN&lt;br /&gt;
false&lt;br /&gt;
NaN == NaN&lt;br /&gt;
false&lt;br /&gt;
NaN != NaN&lt;br /&gt;
true&lt;br /&gt;
false == 0&lt;br /&gt;
true&lt;br /&gt;
true == 1&lt;br /&gt;
true&lt;br /&gt;
true == 2&lt;br /&gt;
false&lt;br /&gt;
undefined == 0&lt;br /&gt;
false&lt;br /&gt;
null == 0&lt;br /&gt;
false&lt;br /&gt;
&amp;quot;5&amp;quot; == 5&lt;br /&gt;
true&lt;br /&gt;
&lt;br /&gt;
== Equal Operator==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;If the values are equal, true is returned from the equal operator (==).&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;If the values are not equal, false is returned from the operation.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;JavaScript attempts to convert the operands to the same data type before comparing the values for all versions of JavaScript except 1.2. JavaScript adheres to the following rules when performing type-conversion:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;True is converted to the number 1, and false is converted to zero before being compared.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;If either of the operands is NaN, the equality operator returns false.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Null and undefined are equal.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Null and undefined are not equal to 0 (zero), &amp;quot;&amp;quot; , or false.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;If a string and a number are compared, attempt to convert the string to a number and then check for equality.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;If an object and a string are compared, attempt to convert the object to a string and then check for equality.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;If an object and a number are compared, attempt to convert the object to a number and then check for equality.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;If both operands of an equality operation are objects, the address of the two objects are check for equality.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;By setting the LANGUAGE attribute of the &lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;HTML&amp;gt;&lt;br /&gt;
&amp;lt;SCRIPT LANGUAGE=&amp;quot;JAVASCRIPT1.3&amp;quot;&amp;gt;&lt;br /&gt;
    // Type-conversion turned on&lt;br /&gt;
    document.write(&amp;quot;The == operator with type-conversion turned on returns: &amp;quot;);&lt;br /&gt;
    document.write(3==&amp;quot;3&amp;quot;);&lt;br /&gt;
&amp;lt;/SCRIPT&amp;gt;&lt;br /&gt;
&amp;lt;SCRIPT LANGUAGE=&amp;quot;JAVASCRIPT1.2&amp;quot;&amp;gt;&lt;br /&gt;
    // Type-conversion turned off&lt;br /&gt;
    document.write(&amp;quot;&amp;lt;BR&amp;gt;The == operator with type- &amp;quot;);&lt;br /&gt;
    document.write(&amp;quot;conversion turned off returns: &amp;quot;);&lt;br /&gt;
    document.write(3==&amp;quot;3&amp;quot;);&lt;br /&gt;
&amp;lt;/SCRIPT&amp;gt;&lt;br /&gt;
&amp;lt;/HTML&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
&amp;lt;p&amp;gt;Quote from:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Pure JavaScript (Paperback)&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;by R. Allen Wyke (Author), Jason Gilliam (Author), Charlton Ting (Author)&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;# Paperback: 1448 pages&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;# Publisher: Sams; 1st edition (August 1999)&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;# Language: English&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;# ISBN-10: 0672315475&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;# ISBN-13: 978-0672315473&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;gt; (Greater Than)==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
    &amp;lt;script language=&amp;quot;JavaScript&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;!--&lt;br /&gt;
    str = new String(&amp;quot;112&amp;quot;);&lt;br /&gt;
    if(str &amp;gt; 68)&lt;br /&gt;
      document.write(&amp;quot;112 is greater than 23&amp;quot;);&lt;br /&gt;
    else&lt;br /&gt;
      document.write(&amp;quot;Returned FALSE!&amp;quot;);&lt;br /&gt;
    --&amp;gt;&lt;br /&gt;
    &amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
== &amp;gt;= (Greater Than or Equal)==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
    &amp;lt;script language=&amp;quot;JavaScript&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;!--&lt;br /&gt;
    str = new String(&amp;quot;95&amp;quot;);&lt;br /&gt;
    if(str &amp;gt;= 44)&lt;br /&gt;
      document.write(&amp;quot;95 is greater than or equal to 44&amp;quot;);&lt;br /&gt;
    else&lt;br /&gt;
      document.write(&amp;quot;Returned FALSE!&amp;quot;);&lt;br /&gt;
    --&amp;gt;&lt;br /&gt;
    &amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
== Identically Equal and Not Identically Equal==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;The identically equal and not identically equal operators do the same thing as equal and not equal,&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;except that they do not convert operands before testing for equality.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;The identically equal operator is represented by three equal signs (===) and only returns true if the operands are equal without conversion.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
var sNum = &amp;quot;55&amp;quot;;&lt;br /&gt;
var iNum = 55;&lt;br /&gt;
alert(sNum == iNum);    //outputs &amp;quot;true&amp;quot;&lt;br /&gt;
alert(sNum ===&amp;quot;iNum);   //outputs &amp;quot;false&amp;quot;&amp;quot;&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
== ===(Identity)==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;The identity operator compares the first operand to the second operand.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;If the value on the left is equal to the value on the right side of the operator, true is returned from operation.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;If the values are not equal, false is returned.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;No type-conversion is performed on the operands before the comparison is made.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
    &amp;lt;script language=&amp;quot;JavaScript&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;!--&lt;br /&gt;
    if(&amp;quot;326&amp;quot;===326){&lt;br /&gt;
      document.write(&amp;quot;The string 326 is NOT equal to the number 326&amp;quot;);&lt;br /&gt;
    }&lt;br /&gt;
    else&lt;br /&gt;
    {&lt;br /&gt;
      document.write(&amp;quot;The string 326 is EQUAL to the number 326&amp;quot;);&lt;br /&gt;
    }&lt;br /&gt;
    --&amp;gt;&lt;br /&gt;
    &amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
== ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
    &amp;lt;script language=&amp;quot;JavaScript&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;!--&lt;br /&gt;
    str = new String(&amp;quot;45&amp;quot;);&lt;br /&gt;
    if(str &amp;lt; 68)&lt;br /&gt;
      document.write(&amp;quot;45 is less than 68&amp;quot;);&lt;br /&gt;
    else&lt;br /&gt;
      document.write(&amp;quot;Returned FALSE!&amp;quot;);&lt;br /&gt;
    --&amp;gt;&lt;br /&gt;
    &amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
== !== (Non-Identity)==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;No type-conversion is performed on the expressions before the comparison is made.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
    &amp;lt;script language=&amp;quot;JavaScript&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;!--&lt;br /&gt;
    if(&amp;quot;87&amp;quot; !== 87)&lt;br /&gt;
    {&lt;br /&gt;
      document.write(&amp;quot;The string 87 is NOT equal to the number 87&amp;quot;);&lt;br /&gt;
    }&lt;br /&gt;
    else&lt;br /&gt;
    {&lt;br /&gt;
      document.write(&amp;quot;The string 87 is EQUAL to the number 87&amp;quot;);&lt;br /&gt;
    }&lt;br /&gt;
    --&amp;gt;&lt;br /&gt;
    &amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
== != (Not Equal)==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;JavaScript and Microsoft JScript attempt to convert the expressions to the same data type before evaluating the not equal operation using the following rules:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;True is converted to the number 1, and false is converted to zero before being compared.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;If either of the operands is NaN, the equality operator returns false.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Null and undefined are equal.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Null and undefined are not equal to 0 (zero), &amp;quot;&amp;quot; , or false.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;If a string and a number are compared, attempt to convert the string to a number and then check for equality.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;If an object and a string are compared, attempt to convert the object to a string and then check for equality.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;If an object and a number are compared, attempt to convert the object to a number and then check for equality.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;If both operands of an equality operation are objects, the address of the two objects are checked for equality.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
    &amp;lt;script language=&amp;quot;JavaScript&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;!--&lt;br /&gt;
    if(&amp;quot;523&amp;quot; != 523) {&lt;br /&gt;
      document.write(&amp;quot;The string 523 is NOT equal to the number 523&amp;quot;);&lt;br /&gt;
    } else {&lt;br /&gt;
      document.write(&amp;quot;The string 523 is EQUAL to the number 523&amp;quot;);&lt;br /&gt;
    }&lt;br /&gt;
    --&amp;gt;&lt;br /&gt;
    &amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
&amp;lt;p&amp;gt;Quote from:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Pure JavaScript (Paperback)&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;by R. Allen Wyke (Author), Jason Gilliam (Author), Charlton Ting (Author)&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;# Paperback: 1448 pages&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;# Publisher: Sams; 1st edition (August 1999)&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;# Language: English&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;# ISBN-10: 0672315475&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;# ISBN-13: 978-0672315473&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== not identically equal operator==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;The not identically equal operator is represented by an exclamation point followed by two equal signs (!==) and returns true only if the operands are not equal without conversion.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
var sNum = &amp;quot;55&amp;quot;;&lt;br /&gt;
var iNum = 55;&lt;br /&gt;
alert(sNum != iNum);    //outputs &amp;quot;false&amp;quot;&lt;br /&gt;
alert(sNum !== iNum);   //outputs &amp;quot;true&amp;quot;&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
			</entry>

	</feed>