File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
lib/node_modules/@stdlib/utils/inherited-property-descriptors Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,8 @@ var inheritedPropertyDescriptors = require( '@stdlib/utils/inherited-property-de
3636
3737Returns an object's inherited [ property descriptors] [ @stdlib/utils/property-descriptors ] .
3838
39+ <!-- eslint-disable id-length -->
40+
3941``` javascript
4042function Foo () {
4143 this .a = ' b' ;
@@ -51,6 +53,8 @@ var desc = inheritedPropertyDescriptors( f );
5153
5254By default, the function walks an object's entire prototype chain. To limit the inheritance level, provide a ` level ` argument.
5355
56+ <!-- eslint-disable id-length -->
57+
5458``` javascript
5559var inherit = require ( ' @stdlib/utils/inherit' );
5660
@@ -153,8 +157,6 @@ console.log( desc );
153157
154158<!-- <related-links> -->
155159
156- [ @stdlib/utils/property-descriptors ] : https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/utils/property-descriptors
157-
158160[ @stdlib/utils/property-descriptors-in ] : https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/utils/property-descriptors-in
159161
160162[ @stdlib/utils/inherited-keys ] : https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/utils/inherited-keys
You can’t perform that action at this time.
0 commit comments