a.equal(b) handles null values and willnot return error message.
a==b will generate error when b is null.