Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7df0912 + 53f84b8 commit 414b5f9Copy full SHA for 414b5f9
code-reuse-patterns/klass.html
@@ -79,19 +79,7 @@
79
80
console.log(clark instanceof Man); // true
81
console.log(clark instanceof SuperMan); // true
82
- <
83
- !doctype
84
- html >
85
- < html
86
- lang = "en" >
87
- < head >
88
- < title > JavaScript
89
- Patterns < /title>
90
- < meta
91
- charset = "utf-8" >
92
- < /head>
93
- < body >
94
- < script >
+
95
/* Title: Classical Pattern #5 - A Temporary Constructor (a pattern that should be generally avoided)
96
Description: first borrow the constructor and then also set the child's prototype to point to a new instance of the constructor
97
*/
@@ -161,7 +149,3 @@
161
149
</script>
162
150
</body>
163
151
</html>
164
-</script>
165
-<
166
-/body>
167
-< /html>
0 commit comments