function show() { return [this.tag, ...arguments]; } console.log(show.call({ tag: "A" }, 1, 2)); console.log(show.apply({ tag: "B" }, [3, 4]));