UNPKG
react-saasify-chrisvxd
Version:
latest (1.9.0)
1.9.0
1.7.15
1.7.14
React components for Saasify web clients.
github.com/saasify-sh/saasify
saasify-sh/saasify
react-saasify-chrisvxd
/
example
/
node_modules
/
mimic-fn
/
index.js
10 lines
(8 loc)
•
304 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
'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; };