Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #4 from matthewp/master

Special case using the String constructor
  • Loading branch information...
commit 1f1ea8522537d9decd5ab79a9d780bd38414c926 2 parents a7abf06 + 5d50c1d
@tj tj authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  index.js
View
1  index.js
@@ -20,6 +20,7 @@ module.exports = function(val){
case '[object RegExp]': return 'regexp';
case '[object Arguments]': return 'arguments';
case '[object Array]': return 'array';
+ case '[object String]': return 'string';
}
if (val === null) return 'null';
Please sign in to comment.
Something went wrong with that request. Please try again.