diff --git a/docs/tutorial.md b/docs/tutorial.md index 476f175..6c8afee 100644 --- a/docs/tutorial.md +++ b/docs/tutorial.md @@ -155,8 +155,9 @@ Logical operation could be used the same : comparison are based on comparison operator which can be overloaded (2) -: referential equality means left and right operands references exactly same instance of some object. Note that all singleton object, like `null`, are referentially equal too, while string different literals even being equal are most likely referentially not equal: +: referential equality means left and right operands references exactly same instance of some object. Note that all singleton object, like `null`, are referentially equal too, while string different literals even being equal are most likely referentially not equal +Reference quality and object equality example: assert( null == null) // singletons assert( null === null)