Object.prototype.toString()

it2022-05-05  110

Transferred From :http://stackoverflow.com/questions/3250379/what-is-the-call-function-doing-in-this-javascript-statement/3250415#3250415

The call method sets the this value of the invoked function to the object passed as first  argument.

 

All native object in Javascript contain an internal property called [[Class]] .The property contains a string value that represents the specification defined classification of an object.

转载于:https://www.cnblogs.com/hongjiumu/archive/2012/08/14/2638730.html


最新回复(0)