Skip to content

Commit f751b57

Browse files
authored
Fix typo in article.md (#993)
Fix typo in article.md
2 parents 5e2a2a1 + 63ffc3d commit f751b57

File tree

1 file changed

+1
-1
lines changed
  • 1-js/06-advanced-functions/06-function-object

1 file changed

+1
-1
lines changed

1-js/06-advanced-functions/06-function-object/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ Functions are objects.
340340

341341
Here we covered their properties:
342342

343-
- `name` -- the function name. Usually taken from the function definition, but if there's non, JavaScript tries to guess it from the context (e.g. an assignment).
343+
- `name` -- the function name. Usually taken from the function definition, but if there's none, JavaScript tries to guess it from the context (e.g. an assignment).
344344
- `length` -- the number of arguments in the function definition. Rest parameters are not counted.
345345

346346
If the function is declared as a Function Expression (not in the main code flow), and it carries the name, then it is called a Named Function Expression. The name can be used inside to reference itself, for recursive calls or such.

0 commit comments

Comments
 (0)