---
title: "Meaning & Key Takeaway of: Now when we use the function keyword this…"
description: "\"“Now when we use the function keyword this way — that is, within a statement, like an assignment statement — we call this a function expression. Notice..."
image: "https://sms4smile.com/quotes/i/30c/eric-freeman-7573_quote_now-when-we-use-the-function-keyword-thi_1051974.jpg"
---

#  Now when we use the function keyword this way — that is…

![“Now when we use the function keyword this way — that is, within a statement, like an assignment statement — we call this a function expression. Notice” quote by Eric Freeman](https://sms4smile.com/quotes/i/30c/eric-freeman-7573_quote_now-when-we-use-the-function-keyword-thi_1051974.jpg)   [Download](https://sms4smile.com/quotes/i/30c/eric-freeman-7573_quote_now-when-we-use-the-function-keyword-thi_1051974.jpg) [Open image](https://sms4smile.com/quotes/i/30c/eric-freeman-7573_quote_now-when-we-use-the-function-keyword-thi_1051974.jpg)

> ““Now when we use the function keyword this way — that is, within a statement, like an assignment statement — we call this a function expression. Notice””

[Eric Freeman](https://sms4smile.com/quotes/author/eric-freeman/)

## About This Quote

This interpretation was drafted with AI assistance. It is one reading of the quote, not the author's own explanation.

Using the function keyword inside an assignment creates a function expression, a distinct concept in programming.

**In simple terms:** Placing function in assignment makes a function expression.

Key Takeaway

Understand function expressions for better code.

Themes

programming syntax functions expressions

Mood

educational technical

Type

programming instructional

When to use this quote

- software development
- learning programming
- debugging

Key Concepts

JavaScript fundamentals code structure

Questions to Reflect On

- How do function expressions differ from declarations?
- When should you use them?

A Different Perspective

May confuse beginners unfamiliar with terminology.

★ ★ ★ ★ ★   No ratings yet

[Technology](https://sms4smile.com/quotes/about/technology/)

## Related quotes

> [“the constructor always has a prototype property. More”](https://sms4smile.com/quotes/eric-freeman/the-constructor-always-has-a-prototype-property-more/)

[Eric Freeman](https://sms4smile.com/quotes/author/eric-freeman/)

> [“when you assign a value to a variable name that hasn’t been previously declared, it is treated as a new, global variable. So be…](https://sms4smile.com/quotes/eric-freeman/when-you-assign-a-value-to-a-variable-name-that-hasn-t-been/)

[Eric Freeman](https://sms4smile.com/quotes/author/eric-freeman/)

> [“Web Workers have a global function named importScripts that you can use to import one or more JavaScript files into your worker. To”](https://sms4smile.com/quotes/eric-freeman/web-workers-have-a-global-function-named-importscripts-that-you-can/)

[Eric Freeman](https://sms4smile.com/quotes/author/eric-freeman/)

> [Do not delegate an assignment and then attempt to manage it yourself - you will make an enemy of the overruled subordinate.](https://sms4smile.com/quotes/wess-roberts/do-not-delegate-an-assignment-and-then-attempt-to-manage-it-yourself/)

[Wess Roberts](https://sms4smile.com/quotes/author/wess-roberts/)

> [“How good is it to remember one's insignificance: that of a man among billions of men, of an animal amid billions of animals; and…](https://sms4smile.com/quotes/leo-tolstoy/how-good-is-it-to-remember-one-s-insignificance-that-of-a-man-among/)

[Leo Tolstoy](https://sms4smile.com/quotes/author/leo-tolstoy/)

> [One effectively submitted assignment doesn't required the imaginative reference, does it?](https://sms4smile.com/quotes/tivea/one-effectively-submitted-assignment-doesn-t-required-the-imaginative/)

[Tivea](https://sms4smile.com/quotes/author/tivea/)

> [“This is probably just his new assignment, getting close to you so he can use you for information about the Council." "Actually, I was…](https://sms4smile.com/quotes/rachel-hawkins/this-is-probably-just-his-new-assignment-getting-close-to-you-so-he/)

[Rachel Hawkins](https://sms4smile.com/quotes/author/rachel-hawkins/)

> [They told me I didn't understand the assignment, I told them they didn't understand life.](https://sms4smile.com/quotes/john-lennon/they-told-me-i-didn-t-understand-the-assignment-i-told-them-they-didn/)

[John Lennon](https://sms4smile.com/quotes/author/john-lennon/)

> [“Your assignment is to love everyone, accepting all that happens to you.”](https://sms4smile.com/quotes/thomas-a-kempis/your-assignment-is-to-love-everyone-accepting-all-that-happens-to-you/)

[Thomas à Kempis](https://sms4smile.com/quotes/author/thomas-a-kempis/)

> [Even with an assignment, I take over, I find a freedom and make the idea my own, and that's where you get the sense…](https://sms4smile.com/quotes/charles-d-ambrosio/even-with-an-assignment-i-take-over-i-find-a-freedom-and-make-the/)

[Charles D'Ambrosio](https://sms4smile.com/quotes/author/charles-d-ambrosio/)

> [“The sum of our relationship with God enables us to take the next step, climb the next mountain, and do the next part of…](https://sms4smile.com/quotes/katy-kauffman/the-sum-of-our-relationship-with-god-enables-us-to-take-the-next-step/)

[Katy Kauffman](https://sms4smile.com/quotes/author/katy-kauffman/)

> [Just how we fit into the plans of the Great Architect and how much he has assigned us to do we do not know,…](https://sms4smile.com/quotes/robert-andrews-millikan/just-how-we-fit-into-the-plans-of-the-great-architect-and-how-much-he/)

[Robert Andrews Millikan](https://sms4smile.com/quotes/author/robert-andrews-millikan/)

> [“When a man begins to do that which is assigned to him, it becomes as if he is more endowed and favoured than his…](https://sms4smile.com/quotes/ogwo-david-emenike/when-a-man-begins-to-do-that-which-is-assigned-to-him-it-becomes-as/)

[Ogwo David Emenike](https://sms4smile.com/quotes/author/ogwo-david-emenike/)

> [I am honored to be chosen to serve on the Education and Labor committee. This assignment will give me the opportunity to work on…](https://sms4smile.com/quotes/michelle-steel/i-am-honored-to-be-chosen-to-serve-on-the-education-and-labor/)

[Michelle Steel](https://sms4smile.com/quotes/author/michelle-steel/)

> [“Your assignment is a pre-cursor to someone else’s assignment. In the same breath, someone else’s assignment is a pre-cursor to yours.”](https://sms4smile.com/quotes/d-s-mashego/your-assignment-is-a-pre-cursor-to-someone-else-s-assignment-in-the/)

[D.S. Mashego](https://sms4smile.com/quotes/author/d-s-mashego/)

## More by Eric Freeman

> [“When you delete a property, you’re not just deleting the value of the property, you’re deleting the property itself. And, if you try to…](https://sms4smile.com/quotes/eric-freeman/when-you-delete-a-property-you-re-not-just-deleting-the-value-of-the/)

[Eric Freeman](https://sms4smile.com/quotes/author/eric-freeman/)

> [“the constructor always has a prototype property. More”](https://sms4smile.com/quotes/eric-freeman/the-constructor-always-has-a-prototype-property-more/)

[Eric Freeman](https://sms4smile.com/quotes/author/eric-freeman/)

> [“when you assign a value to a variable name that hasn’t been previously declared, it is treated as a new, global variable. So be…](https://sms4smile.com/quotes/eric-freeman/when-you-assign-a-value-to-a-variable-name-that-hasn-t-been/)

[Eric Freeman](https://sms4smile.com/quotes/author/eric-freeman/)

> [“Web Workers have a global function named importScripts that you can use to import one or more JavaScript files into your worker. To”](https://sms4smile.com/quotes/eric-freeman/web-workers-have-a-global-function-named-importscripts-that-you-can/)

[Eric Freeman](https://sms4smile.com/quotes/author/eric-freeman/)

> [“If the two values have different types, try to convert them into the same type and then compare them”](https://sms4smile.com/quotes/eric-freeman/if-the-two-values-have-different-types-try-to-convert-them-into-the/)

[Eric Freeman](https://sms4smile.com/quotes/author/eric-freeman/)

> [“Well, it’s a browser policy, and it says you can’t retrieve data from a domain that is different from the domain the page itself…](https://sms4smile.com/quotes/eric-freeman/well-it-s-a-browser-policy-and-it-says-you-can-t-retrieve-data-from-a/)

[Eric Freeman](https://sms4smile.com/quotes/author/eric-freeman/)

> [“Math is not a constructor, or even a function. It’s an object. As you know, Math is a built-in object that you can use…](https://sms4smile.com/quotes/eric-freeman/math-is-not-a-constructor-or-even-a-function-it-s-an-object-as-you/)

[Eric Freeman](https://sms4smile.com/quotes/author/eric-freeman/)

> [“When you pass zero to setTimeout, you’re asking JavaScript to run your timeout handler as soon as it possibly can — and this leads…](https://sms4smile.com/quotes/eric-freeman/when-you-pass-zero-to-settimeout-you-re-asking-javascript-to-run-your/)

[Eric Freeman](https://sms4smile.com/quotes/author/eric-freeman/)

> [“JavaScript doesn’t have a character type. So characters are returned as new strings containing one character.”](https://sms4smile.com/quotes/eric-freeman/javascript-doesn-t-have-a-character-type-so-characters-are-returned/)

[Eric Freeman](https://sms4smile.com/quotes/author/eric-freeman/)

> [“Closures are often used to capture state for event handlers.”](https://sms4smile.com/quotes/eric-freeman/closures-are-often-used-to-capture-state-for-event-handlers/)

[Eric Freeman](https://sms4smile.com/quotes/author/eric-freeman/)

> [“Lexical scope means that we can determine the scope of a variable by reading our code.”](https://sms4smile.com/quotes/eric-freeman/lexical-scope-means-that-we-can-determine-the-scope-of-a-variable-by/)

[Eric Freeman](https://sms4smile.com/quotes/author/eric-freeman/)

> [“Q: Q: You said getElementsByTagName returns a list. Do you mean an array? A: A: It returns an object that you can treat like…](https://sms4smile.com/quotes/eric-freeman/q-q-you-said-getelementsbytagname-returns-a-list-do-you-mean-an-array/)

[Eric Freeman](https://sms4smile.com/quotes/author/eric-freeman/)

> [“the truth is JavaScript actually makes two passes over your page: in the first pass it reads all the function definitions, and in the…](https://sms4smile.com/quotes/eric-freeman/the-truth-is-javascript-actually-makes-two-passes-over-your-page-in/)

[Eric Freeman](https://sms4smile.com/quotes/author/eric-freeman/)

> [“If you change any property in the prototype, it affects all the objects that inherit from that prototype, unless that object has overridden that…](https://sms4smile.com/quotes/eric-freeman/if-you-change-any-property-in-the-prototype-it-affects-all-the/)

[Eric Freeman](https://sms4smile.com/quotes/author/eric-freeman/)

> [“methods in objects are properties too. They just happen to have a function assigned to them.”](https://sms4smile.com/quotes/eric-freeman/methods-in-objects-are-properties-too-they-just-happen-to-have-a/)

[Eric Freeman](https://sms4smile.com/quotes/author/eric-freeman/)

[Explore all 90 Eric Freeman quotes ](https://sms4smile.com/quotes/author/eric-freeman/)

## More Assignment quotes

> [Do not delegate an assignment and then attempt to manage it yourself - you will make an enemy of the overruled subordinate.](https://sms4smile.com/quotes/wess-roberts/do-not-delegate-an-assignment-and-then-attempt-to-manage-it-yourself/)

[Wess Roberts](https://sms4smile.com/quotes/author/wess-roberts/)

> [I am honored to be chosen to serve on the Education and Labor committee. This assignment will give me the opportunity to work on…](https://sms4smile.com/quotes/michelle-steel/i-am-honored-to-be-chosen-to-serve-on-the-education-and-labor/)

[Michelle Steel](https://sms4smile.com/quotes/author/michelle-steel/)

> [“When a man begins to do that which is assigned to him, it becomes as if he is more endowed and favoured than his…](https://sms4smile.com/quotes/ogwo-david-emenike/when-a-man-begins-to-do-that-which-is-assigned-to-him-it-becomes-as/)

[Ogwo David Emenike](https://sms4smile.com/quotes/author/ogwo-david-emenike/)

> [Just how we fit into the plans of the Great Architect and how much he has assigned us to do we do not know,…](https://sms4smile.com/quotes/robert-andrews-millikan/just-how-we-fit-into-the-plans-of-the-great-architect-and-how-much-he/)

[Robert Andrews Millikan](https://sms4smile.com/quotes/author/robert-andrews-millikan/)

> [“The sum of our relationship with God enables us to take the next step, climb the next mountain, and do the next part of…](https://sms4smile.com/quotes/katy-kauffman/the-sum-of-our-relationship-with-god-enables-us-to-take-the-next-step/)

[Katy Kauffman](https://sms4smile.com/quotes/author/katy-kauffman/)

> [Even with an assignment, I take over, I find a freedom and make the idea my own, and that's where you get the sense…](https://sms4smile.com/quotes/charles-d-ambrosio/even-with-an-assignment-i-take-over-i-find-a-freedom-and-make-the/)

[Charles D'Ambrosio](https://sms4smile.com/quotes/author/charles-d-ambrosio/)

> [“Your assignment is to love everyone, accepting all that happens to you.”](https://sms4smile.com/quotes/thomas-a-kempis/your-assignment-is-to-love-everyone-accepting-all-that-happens-to-you/)

[Thomas à Kempis](https://sms4smile.com/quotes/author/thomas-a-kempis/)

> [They told me I didn't understand the assignment, I told them they didn't understand life.](https://sms4smile.com/quotes/john-lennon/they-told-me-i-didn-t-understand-the-assignment-i-told-them-they-didn/)

[John Lennon](https://sms4smile.com/quotes/author/john-lennon/)

> [“This is probably just his new assignment, getting close to you so he can use you for information about the Council." "Actually, I was…](https://sms4smile.com/quotes/rachel-hawkins/this-is-probably-just-his-new-assignment-getting-close-to-you-so-he/)

[Rachel Hawkins](https://sms4smile.com/quotes/author/rachel-hawkins/)

> [One effectively submitted assignment doesn't required the imaginative reference, does it?](https://sms4smile.com/quotes/tivea/one-effectively-submitted-assignment-doesn-t-required-the-imaginative/)

[Tivea](https://sms4smile.com/quotes/author/tivea/)

> [“How good is it to remember one's insignificance: that of a man among billions of men, of an animal amid billions of animals; and…](https://sms4smile.com/quotes/leo-tolstoy/how-good-is-it-to-remember-one-s-insignificance-that-of-a-man-among/)

[Leo Tolstoy](https://sms4smile.com/quotes/author/leo-tolstoy/)

> [“Your assignment is a pre-cursor to someone else’s assignment. In the same breath, someone else’s assignment is a pre-cursor to yours.”](https://sms4smile.com/quotes/d-s-mashego/your-assignment-is-a-pre-cursor-to-someone-else-s-assignment-in-the/)

[D.S. Mashego](https://sms4smile.com/quotes/author/d-s-mashego/)

> [“Your calling is your life assignment”](https://sms4smile.com/quotes/sunday-adelaja/your-calling-is-your-life-assignment/)

[Sunday Adelaja](https://sms4smile.com/quotes/author/sunday-adelaja/)

> [“Your assignment from God is not to change your spouse, but to love, follow, assist, and minister to them.”](https://sms4smile.com/quotes/elizabeth-george/your-assignment-from-god-is-not-to-change-your-spouse-but-to-love/)

[Elizabeth George](https://sms4smile.com/quotes/author/elizabeth-george/)

> [I work on words, mostly, toward them being poetry or short stories, and then some of those become songs. They all find their place…](https://sms4smile.com/quotes/p-j-harvey/i-work-on-words-mostly-toward-them-being-poetry-or-short-stories-and/)

[P. J. Harvey](https://sms4smile.com/quotes/author/p-j-harvey/)

Browse all 155 Assignment quotes

```json
{
    "@context": "https://schema.org",
    "@graph": [
        {
            "@type": "Quotation",
            "text": "“Now when we use the function keyword this way — that is, within a statement, like an assignment statement — we call this a function expression. Notice”",
            "creator": {
                "@type": "Person",
                "name": "Eric Freeman"
            },
            "isPartOf": {
                "@id": "https://sms4smile.com/quotes/#website"
            },
            "url": "https://sms4smile.com/quotes/eric-freeman/now-when-we-use-the-function-keyword-this-way-that-is-within-a/",
            "about": {
                "@type": "Thing",
                "name": "Assignment"
            },
            "@id": "https://sms4smile.com/quotes/eric-freeman/now-when-we-use-the-function-keyword-this-way-that-is-within-a/#quotation",
            "image": {
                "@type": "ImageObject",
                "@id": "https://sms4smile.com/quotes/i/30c/eric-freeman-7573_quote_now-when-we-use-the-function-keyword-thi_1051974.jpg",
                "contentUrl": "https://sms4smile.com/quotes/i/30c/eric-freeman-7573_quote_now-when-we-use-the-function-keyword-thi_1051974.jpg",
                "url": "https://sms4smile.com/quotes/i/30c/eric-freeman-7573_quote_now-when-we-use-the-function-keyword-thi_1051974.jpg",
                "width": 1080,
                "height": 1080,
                "caption": "“Now when we use the function keyword this way — that is, within a statement, like an assignment statement…” — Eric Freeman",
                "creditText": "SMS4Smile Quotes",
                "creator": {
                    "@id": "https://sms4smile.com/quotes/#organization"
                }
            }
        },
        {
            "@type": "BreadcrumbList",
            "itemListElement": [
                {
                    "@type": "ListItem",
                    "position": 1,
                    "name": "Home",
                    "item": "https://sms4smile.com/"
                },
                {
                    "@type": "ListItem",
                    "position": 2,
                    "name": "Quotes",
                    "item": "https://sms4smile.com/quotes/"
                },
                {
                    "@type": "ListItem",
                    "position": 3,
                    "name": "Eric Freeman",
                    "item": "https://sms4smile.com/quotes/author/eric-freeman/"
                },
                {
                    "@type": "ListItem",
                    "position": 4,
                    "name": "“Now when we use the function...",
                    "item": "https://sms4smile.com/quotes/eric-freeman/now-when-we-use-the-function-keyword-this-way-that-is-within-a/"
                }
            ],
            "@id": "https://sms4smile.com/quotes/eric-freeman/now-when-we-use-the-function-keyword-this-way-that-is-within-a/#breadcrumb"
        },
        {
            "@type": "WebSite",
            "@id": "https://sms4smile.com/quotes/#website",
            "name": "SMS4Smile Quotes",
            "url": "https://sms4smile.com/quotes/",
            "publisher": {
                "@id": "https://sms4smile.com/quotes/#organization"
            }
        },
        {
            "@type": "Organization",
            "@id": "https://sms4smile.com/quotes/#organization",
            "name": "SMS4Smile Quotes",
            "url": "https://sms4smile.com/quotes/",
            "logo": {
                "@type": "ImageObject",
                "url": "https://sms4smile.com/quotes/wp-content/themes/sq/assets/icons/icon-512.png",
                "width": 512,
                "height": 512
            }
        }
    ]
}
```
