(from, to)
| 880 | |
| 881 | |
| 882 | function copyOwnProperties(from, to) { |
| 883 | const keys = ObjectKeys(from); |
| 884 | |
| 885 | for (let i = 0; i < keys.length; ++i) { |
| 886 | const key = keys[i]; |
| 887 | const descriptor = ObjectGetOwnPropertyDescriptor(from, key); |
| 888 | ObjectDefineProperty(to, key, descriptor); |
| 889 | } |
| 890 | } |
| 891 | |
| 892 | function setupSharedModuleState() { |
| 893 | if (sharedModuleState === undefined) { |
no outgoing calls
no test coverage detected
searching dependent graphs…