So you now can envision how an assignment works?
LS <= RS
The Left Side becomes a reference to the object on the Right Side, whence referred will yield up that object or value.
var a = Math.PI;
console.log(a, a.toFixed(2)); // 3.141592653589793 '3.14'
We have outputted two different values from the same reference. A direct reference,
a and an indirect anonymous reference,
Notice that the indirect reference has the method referring the variable? This gives rise to a new anonymous object, a string converted from the rounded value of
a set to two decimal places.
Now let's do some comparisons.
console.log(+a.toFixed(2) == a.toFixed(2)); // true
console.log(+a.toFixed(2) === a.toFixed(2)); // false