...

View Full Version : = and ==



velious
01-15-2004, 06:14 PM
I am a bit confused by this.. whats the difference if i say:

x == 5
x = 5

on this page.. It does not make it very clear
http://www.w3schools.com/js/js_operators.asp

fredmv
01-15-2004, 06:19 PM
The first one compares while the second one assigns.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum