jhermsmeier/typeof.js. Created 10 years ago ... var type = Object.prototype.toString.call( value );. return type.substring( 8, type.length - 1 );.
確定! 回上一頁