From 7fe6ec71188461549639bd6040f0d6f2695d1735 Mon Sep 17 00:00:00 2001 From: "Shaopeng (Chris) Lin" Date: Tue, 11 Apr 2023 02:14:54 -0400 Subject: [PATCH] contents(quiz): fix typo in "Example of Prototypal Inheritance" (#372) There was an extra '-' that caused "Currently, `child.constructor` is pointing to the `Parent`" to move to the list of ways to calling Object.create. --- contents/javascript-questions.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/contents/javascript-questions.md b/contents/javascript-questions.md index 5ea21d13d..fbcfc3a60 100644 --- a/contents/javascript-questions.md +++ b/contents/javascript-questions.md @@ -86,9 +86,8 @@ Things to note are: - Object.create(Parent.prototype); - Object.create(new Parent(null)); - Object.create(objLiteral); - - Currently, `child.constructor` is pointing to the `Parent`: -If we'd like to correct this, one option would be to do: +- Currently, `child.constructor` is pointing to the `Parent`. If we'd like to correct this, one option would be to do: ```js function Parent() {