Can someone please help find out if the behavior of this is defined in the JavaScript standard or just working by coincidence (yet still undefined behavior per the standard)?
{ ...undefined }
For instance:
const x = my?.property?.that?.does?.not?.exist // undefined
const y = { foo: 42, ...x }
3