Why does applying the slice method to the javascript arguments
value as follows Array.prototype.slice.call(arguments)
convert it to an array? If slice is used on arrays, and arguments
is not an array, then how does this work? Is it just a special case when slice
is applied to arguments?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…