PHP 8.2.30
Preview: index.js Size: 304 B
//opt/alt/alt-nodejs8/root/lib/node_modules/npm/node_modules/mimic-fn/index.js

'use strict';
module.exports = (to, from) => {
	// TODO: use `Reflect.ownKeys()` when targeting Node.js 6
	for (const prop of Object.getOwnPropertyNames(from).concat(Object.getOwnPropertySymbols(from))) {
		Object.defineProperty(to, prop, Object.getOwnPropertyDescriptor(from, prop));
	}

	return to;
};

Directory Contents

Dirs: 0 × Files: 4

Name Size Perms Modified Actions
304 B lrw-r--r-- 2021-09-28 10:29:45
Edit Download
1.08 KB lrw-r--r-- 2021-09-28 10:29:45
Edit Download
1.61 KB lrw-r--r-- 2021-09-28 10:29:45
Edit Download
1.03 KB lrw-r--r-- 2021-09-28 10:29:45
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).