3 ms·
You only looked at the conversion of an Object to a Record. That’s really not the point of this. The point of introducing true records and tuples is to bring va
by amw-zero 6y ago
You only looked at the conversion of an Object to a Record. That’s really not the point of this. The point of introducing true records and tuples is to bring value semantics to JS for compound data types.
It seems like if you create two records with the same nested data, they will be equal when compared. This may sound small, but if you try out a language with real value semantics it changes the way you code.