3 var _rKind = /^\[object (.*)\]$/,
4 _toString = Object.prototype.toString,
8 * Gets the "kind" of value. (e.g. "String", "Number", etc)
10 function kindOf(val) {
13 } else if (val === UNDEF) {
16 return _rKind.exec( _toString.call(val) )[1];
19 module.exports = kindOf;