I was just working around with number and string and found Expected behavior of javascript.
new String("a") == "a" returns true while new String("a") == new String("a") returns false
Same applies with Number
new Number(7) == new Number(7) returns false
Please Someone explain me why this is happening
Thanks in advance.