diff --git a/index.html b/index.html index a5291356f..db2bcaba1 100644 --- a/index.html +++ b/index.html @@ -1053,6 +1053,19 @@ _([1, 2, 3]).value(); => [1, 2, 3] +
+ The isType (isArray, isFunction, isString ...) family of type-checking + functions use property detection to do their work, which, although + orders of magnitude faster than the alternative, isn't entirely safe when dealing + with objects that are used as hashes, where arbitrary strings are being + set for the keys. It's entirely possible for an object to masquerade as + another type, if you're setting properties with names like "concat" and + "charCodeAt". So be aware. +
+ +