1 2 3 4 5 6 7 8 9 10 |
const p = console.log; const functionRunner = ({ func, args }) => func(args); const fr = functionRunner; fr({ func: fr, args: { func: p, args: 'メタメタ', }, }); |
1 |
メタメタ |
1 2 3 4 5 6 7 8 9 10 |
const p = console.log; const functionRunner = ({ func, args }) => func(args); const fr = functionRunner; fr({ func: fr, args: { func: p, args: 'メタメタ', }, }); |
1 |
メタメタ |