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 ); ```