Skip to content

Commit 990cc40

Browse files
authored
Update article.md
1 parent c598888 commit 990cc40

File tree

1 file changed

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

1 file changed

+0
-1
lines changed

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

-1
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,6 @@ If the function is declared as a Function Expression (not in the main code flow)
347347

348348
Also, functions may carry additional properties. Many well-known JavaScript libraries make great use of this feature.
349349

350-
351350
They create a "main" function and attach many other "helper" functions to it. For instance, the [jQuery](https://jquery.com) library creates a function named `$`. The [lodash](https://lodash.com) library creates a function `_`, and then adds `_.clone`, `_.keyBy` and other properties to it (see the [docs](https://lodash.com/docs) when you want learn more about them). Actually, they do it to lessen their pollution of the global space, so that a single library gives only one global variable. That reduces the possibility of naming conflicts.
352351

353352

0 commit comments

Comments
 (0)