File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed
lib/node_modules/@stdlib/assert/is-enumerable-property/lib Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change 35
35
* 'boop': true
36
36
* };
37
37
*
38
- * var bool = isEnumerableProperty( beep, 'boop' );
38
+ * var bool = isEnumerableProperty.call ( beep, 'boop' );
39
39
* // returns true
40
40
*
41
41
* @example
42
42
* var beep = {
43
43
* 'boop': true
44
44
* };
45
45
*
46
- * var bool = isEnumerableProperty( beep, 'hasOwnProperty' );
46
+ * var bool = isEnumerableProperty.call ( beep, 'hasOwnProperty' );
47
47
* // returns false
48
- *
49
- * @example
50
- * var bool = isEnumerableProperty( null, 'boop' );
51
- * // throws <TypeError>
52
- *
53
- * @example
54
- * var bool = isEnumerableProperty( void 0, 'boop' );
55
- * // throws <TypeError>
56
48
*/
57
49
var isEnumerableProperty = Object . prototype . propertyIsEnumerable ;
58
50
You can’t perform that action at this time.
0 commit comments