We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b757e72 commit 880dc38Copy full SHA for 880dc38
1 file changed
lib/node_modules/@stdlib/utils/inherit/README.md
@@ -22,14 +22,16 @@ var inherit = require( '@stdlib/utils/inherit' );
22
23
Implements prototypical inheritance by replacing the prototype of one constructor with the prototype of another constructor.
24
25
+<!-- eslint-disable no-restricted-syntax -->
26
+
27
``` javascript
28
function Foo() {
29
return this;
30
}
31
32
Foo.prototype.beep = function beep() {
33
return 'boop';
-}
34
+};
35
36
function Bar() {
37
Foo.call( this );
@@ -59,6 +61,8 @@ inherit( Bar, Foo );
59
61
60
62
## Examples
63
64
65
66
67
var inherit = require( '@stdlib/utils/inherit' );
68
0 commit comments