by fendrak · 8y ago · 0 comments
If you could do so, JSON.stringify/parse would be a convenient way to do a deep clone.
> An example of a non-serializable value type is the Date object - it is printed in a non ISO-standard format and cannot be parsed back to its original value :(.
- Roundtrip-able (reversible?)
- Pure
- Effectful
- Mutation-doing
- Idempotent/Nullipotent
- Algebraically closed over the set of its inputs
- Et c.
Every time I hear about a new one I wish I had such a list
You mean injective
Involution, if you mean calling a function twice will give the original input.