Hey all,

I'm confused as to why the call method is being used here. We call it on slice, which itself is a method of Array. And we pass in, not an object, but a bunch of arguments stored in arguments. So it's not like we are trying to use "this" for something else. We are just dealing with arguments passed into the constructor. So why is call used here? Why couldn't we just use Array.prototype.slice(arguments)?

Code:
function Core(){
	var args = Array.prototype.slice.call(arguments)
        //...
}

Core(['dom','event','ajax'],function(box){
     //...
})
Thanks for response