From 7bef4aa522921e39bca18ba150b97a3a7a26b97d Mon Sep 17 00:00:00 2001 From: stdlib-bot Date: Thu, 9 Nov 2023 04:47:57 +0000 Subject: [PATCH] Auto-generated commit --- extname/README.md | 2 ++ inherited-nonenumerable-property-names/README.md | 4 ++++ inherited-nonenumerable-property-symbols/README.md | 4 ++++ 3 files changed, 10 insertions(+) diff --git a/extname/README.md b/extname/README.md index 8dca4938..ce98e14d 100644 --- a/extname/README.md +++ b/extname/README.md @@ -47,6 +47,8 @@ var ext = extname( 'index.js' ); ## Examples + + ```javascript diff --git a/inherited-nonenumerable-property-names/README.md b/inherited-nonenumerable-property-names/README.md index 35464413..460af764 100644 --- a/inherited-nonenumerable-property-names/README.md +++ b/inherited-nonenumerable-property-names/README.md @@ -36,6 +36,8 @@ var inheritedNonEnumerablePropertyNames = require( '@stdlib/utils/inherited-none Returns an `array` of an object's inherited non-enumerable property names. + + ```javascript var defineProperty = require( '@stdlib/utils/define-property' ); @@ -58,6 +60,8 @@ var keys = inheritedNonEnumerablePropertyNames( f ); By default, the function walks an object's entire prototype chain. To limit the inheritance level, provide a `level` argument. + + ```javascript var defineProperty = require( '@stdlib/utils/define-property' ); var inherit = require( '@stdlib/utils/inherit' ); diff --git a/inherited-nonenumerable-property-symbols/README.md b/inherited-nonenumerable-property-symbols/README.md index a831ebec..6f1e145b 100644 --- a/inherited-nonenumerable-property-symbols/README.md +++ b/inherited-nonenumerable-property-symbols/README.md @@ -36,6 +36,8 @@ var inheritedNonEnumerablePropertySymbols = require( '@stdlib/utils/inherited-no Returns an `array` of an object's inherited non-enumerable [symbol][@stdlib/symbol/ctor] properties. + + ```javascript var defineProperty = require( '@stdlib/utils/define-property' ); var hasSymbolSupport = require( '@stdlib/assert/has-symbol-support' ); @@ -72,6 +74,8 @@ symbols = inheritedNonEnumerablePropertySymbols( f ); By default, the function walks an object's entire prototype chain. To limit the inheritance level, provide a `level` argument. + + ```javascript var symbols = inheritedNonEnumerablePropertySymbols( [], 1 ); ```