|
|
|
|
|
by fendrak
2772 days ago
|
|
Indeed it can, but I believe the point is that it's not round-tripable, meaning you can't parse the resulting serialized JSON back into its original form, the one that contained the Date objects. 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 :(.