Spread on readonly object returns empty object in Safari 12 & 13
Vue version
3.2.45
Link to minimal reproduction
Steps to reproduce
Note that in e.g. Safari 14, the text is rendered as:
{ "msg": "Hello World!" } { "msg": "Hello World!" }
While in Safari 12 & 13 it is rendered as:
{ "msg": "Hello World!" } {}
What is expected?
That the text is rendered in Safari 12 & 13 as:
{ "msg": "Hello World!" } { "msg": "Hello World!" }
What is actually happening?
The spread of readonlyObj
is returning {}
.
System Info
No response
Any additional comments?
No response