ACIL FM
Dark
Refresh
Current DIR:
/home/benbot/bot/server/node_modules/merge-descriptors
/
home
benbot
bot
server
node_modules
merge-descriptors
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
index.d.ts
635 B
chmod
View
DL
Edit
Rename
Delete
index.js
616 B
chmod
View
DL
Edit
Rename
Delete
license
1.2 MB
chmod
View
DL
Edit
Rename
Delete
package.json
961 B
chmod
View
DL
Edit
Rename
Delete
readme.md
930 B
chmod
View
DL
Edit
Rename
Delete
Edit file: /home/benbot/bot/server/node_modules/merge-descriptors/index.js
'use strict'; function mergeDescriptors(destination, source, overwrite = true) { if (!destination) { throw new TypeError('The `destination` argument is required.'); } if (!source) { throw new TypeError('The `source` argument is required.'); } for (const name of Object.getOwnPropertyNames(source)) { if (!overwrite && Object.hasOwn(destination, name)) { // Skip descriptor continue; } // Copy descriptor const descriptor = Object.getOwnPropertyDescriptor(source, name); Object.defineProperty(destination, name, descriptor); } return destination; } module.exports = mergeDescriptors;
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply