Skip to content

Commit

Permalink
Typo fix (#6254)
Browse files Browse the repository at this point in the history
  • Loading branch information
radkostanev authored Jun 23, 2021
1 parent ffa6d4b commit 55df1ac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ <h2 id="Using_prototypes_in_JavaScript">Using prototypes in JavaScript</h2>
console.log( doSomething.prototype );
// It does not matter how you declare the function; a
// function in JavaScript will always have a default
// prototype property — with one one exception: an arrow
// prototype property — with one exception: an arrow
// function doesn't have a default prototype property:
const doSomethingFromArrowFunction = () =&gt; {};
console.log( doSomethingFromArrowFunction.prototype );
Expand Down

0 comments on commit 55df1ac

Please sign in to comment.