Possible Duplicate:
JavaScript === vs == : Does it matter which “equal” operator I use?
In some JavaScript if statements I've seen the use of === as opposed to the standard ==. 
What is the difference between these? and should I be using either one of them over the other?
e.g.
if (variable == 'string') {
 return;
}
compared to:
if (variable === 'string') {
 return;
}
 
     
     
    