[Flight] Copy the name field of a serialized function debug value (#34085)
This ensures that if the name is set manually after the declaration, then we get that name when we log the value. For example Node.js `Response` is declared as `_Response` and then later assigned a new name. We should probably really serialize all static enumerable properties but "name" is non-enumerable so it's still a special case.
S
Sebastian Markbåge committed
3958d5d84b3d3e6ae5c1caef9c8cf0dc58e862e6
Parent: 738aebd
Committed by GitHub <noreply@github.com>
on 8/7/2025, 2:55:01 PM