Skip to content Skip to sidebar Skip to footer
Showing posts with the label Equality

Triple Equals Gives Wrong Output When Strings Are Compared, But In Case Of Integer It Gives Correct Output

I have an array of string like var a = ['a','a','a']; When I do comparison… Read more Triple Equals Gives Wrong Output When Strings Are Compared, But In Case Of Integer It Gives Correct Output

Javascript Equal Operations Anomalies

I'm working on a lecture about hard to understand JavaScript code and of course on of the weak … Read more Javascript Equal Operations Anomalies

Object And Primitive Type Equality

I know that identical objects are not equal, i.e: var obj = { name: 'Value' }; var obj2 = {… Read more Object And Primitive Type Equality