Rest
...args: any[]import { call } from 'deleight/object/shared'
let arr1 = [1, 2, 3], arr2 = [1, 2, 3], arr3 = [1, 2, 3];
const objects = { push: [arr1, arr3], unshift: [arr2] };
call(objects, 20, 21);
console.log(arr1) // [1, 2, 3, 20, 21]
console.log(arr2) // [20, 21, 1, 2, 3]
console.log(arr3) // [1, 2, 3, 20, 21]
Calls specified methods in multiple objects.