REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 542 B
Close
//proc/thread-self/root/home/byroehnu/.trash/node_modules11/@redux-devtools/extension/src/utils/assign.ts
Text
Base64
const objectKeys = Object.keys || function (obj) { const keys = []; for (const key in obj) { if ({}.hasOwnProperty.call(obj, key)) keys.push(key); } return keys; }; export default function assign<T extends object, K extends keyof T>( obj: T, newKey: K, newValue: T[K], ): T { const keys = objectKeys(obj); const copy: T = {} as T; for (let i = 0, l = keys.length; i < l; i++) { const key = keys[i]; copy[key as keyof T] = obj[key as keyof T]; } copy[newKey] = newValue; return copy; }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 1
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
assign.ts
542 B
lrw-r--r--
2026-02-28 00:28:26
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).