UNPKG
@bemedev/app-react
Version:
beta (0.0.3-beta)
latest (0.2.0)
0.2.0
0.1.1
0.1.0
0.0.3-beta
0.0.2-beta
0.0.1-beta
Use app-ts inside react
github.com/chlbri/app-react
chlbri/app-react
@bemedev/app-react
/
lib
/
utils
/
reFunction.js
11 lines
(9 loc)
•
247 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
function
_reFunction
(
fn, bind
)
{
return
(...args) => fn.
bind
(bind)(...args); }
function
reFunction
(
object
, fn
)
{
const
_fn
=
object
[
fn
]
;
return
_reFunction
(_fn,
object
); } export { reFunction };
//# sourceMappingURL=reFunction.js.map