@@ -764,9 +764,11 @@ export default function functions(
764764
765765 /**
766766 * Determine if an object has a property or if an array index is in range.
767- * @param {object|array|null } obj source object or array.
767+ * @param {object|array|null } subject source object or array.
768+ * When querying for <<_hidden_properties,hidden properties>>, `subject` may be any data type.
768769 * @param {string|integer } name The name (or index position) of the element to find.
769- * if `obj` is an array, name must be an integer; if `obj` is an object, name must be a string.
770+ * if `subject` is an array, `name` must be an integer;
771+ * if `subject` is an object, `name` must be a string.
770772 * @returns {boolean } true if the element exists
771773 * @function hasProperty
772774 * @example
@@ -2372,7 +2374,8 @@ export default function functions(
23722374
23732375 /**
23742376 * Perform an indexed lookup on an object or array
2375- * @param {object | array | null } subject on which to perform the lookup
2377+ * @param {object | array | null } subject on which to perform the lookup.
2378+ * When querying for <<_hidden_properties,hidden properties>>, `subject` may be any data type.
23762379 * @param {string | integer } index if `subject` is an object, `index` must be a string
23772380 * indicating the key name to search for.
23782381 * If `subject` is an array, then index must be an integer indicating the offset into the array
0 commit comments