If if((hit.transform != transform) means if hit.transform is Not transform, then how do I check if the statement Is correct. if(hit.transfor
if((hit.transform != transform)
if hit.transform is Not transform
if(hit.transfor
You need to use '==='
Here is the first result on google with an explanation http://geekswithblogs.net/brians/archive/2010/07/03/quality-equality-with-javascript-quotquot-gt-quotquot.aspx