---
title: "Meaning & Key Takeaway of: Here’s the short story: functions are…"
description: "\"“Here’s the short story: functions are objects in JavaScript. In”\" — Eric Freeman"
image: "https://sms4smile.com/quotes/i/e64/eric-freeman-7573_quote_here-s-the-short-story-functions-are-obj_1683713.jpg"
---

#  Here’s the short story: functions are objects in…

![“Here’s the short story: functions are objects in JavaScript. In” quote by Eric Freeman](https://sms4smile.com/quotes/i/e64/eric-freeman-7573_quote_here-s-the-short-story-functions-are-obj_1683713.jpg)   [Download](https://sms4smile.com/quotes/i/e64/eric-freeman-7573_quote_here-s-the-short-story-functions-are-obj_1683713.jpg) [Open image](https://sms4smile.com/quotes/i/e64/eric-freeman-7573_quote_here-s-the-short-story-functions-are-obj_1683713.jpg)

> ““Here’s the short story: functions are objects in JavaScript. In””

[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.

JavaScript treats functions as first‑class objects, enabling flexible programming patterns.

**In simple terms:** Functions are objects in JavaScript.

Key Takeaway

Leverage functions as objects for modular code.

Themes

programming JavaScript functions

Mood

analytical practical

Type

technical educational

When to use this quote

- web development
- software design
- learning JavaScript

Key Concepts

first‑class objects higher‑order functions modularity

Questions to Reflect On

- How does treating functions as objects improve code reuse?
- What pitfalls exist when over‑abstracting with functions?

A Different Perspective

Misusing function objects can lead to confusing code.

★ ★ ★ ★ ★   No ratings yet

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

## Related quotes

> [“You can’t send functions:”](https://sms4smile.com/quotes/eric-freeman/you-can-t-send-functions/)

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

> [As a consequence of these hesitations and of the vague character of such innovations, the Commission on Human Rights itself had doubts from the…](https://sms4smile.com/quotes/rene-cassin/as-a-consequence-of-these-hesitations-and-of-the-vague-character-of/)

[Rene Cassin](https://sms4smile.com/quotes/author/rene-cassin/)

> [Uses are always much broader than functions, and usually far less contentious. The word function carries overtones of purpose andpropriety, of concern with why…](https://sms4smile.com/quotes/frank-smith/uses-are-always-much-broader-than-functions-and-usually-far-less/)

[Frank Smith](https://sms4smile.com/quotes/author/frank-smith/)

> [Conservatives believe the economy functions better if the rich have more money and everyone else has less. But they're wrong. It's just the opposite.](https://sms4smile.com/quotes/robert-reich/conservatives-believe-the-economy-functions-better-if-the-rich-have/)

[Robert Reich](https://sms4smile.com/quotes/author/robert-reich/)

> [I promise to myself I will make cars that work and functions worldwide.](https://sms4smile.com/quotes/winfried-vahland/i-promise-to-myself-i-will-make-cars-that-work-and-functions-worldwide/)

[Winfried Vahland](https://sms4smile.com/quotes/author/winfried-vahland/)

> [Clearly, as a CEO, you have other functions that are managed by other people.](https://sms4smile.com/quotes/al-waleed-bin-talal/clearly-as-a-ceo-you-have-other-functions-that-are-managed-by-other/)

[Al-Waleed bin Talal](https://sms4smile.com/quotes/author/al-waleed-bin-talal/)

> [Computers have cut-and-paste functions. So does right-wing historical memory.](https://sms4smile.com/quotes/rick-perlstein/computers-have-cut-and-paste-functions-so-does-right-wing-historical/)

[Rick Perlstein](https://sms4smile.com/quotes/author/rick-perlstein/)

> [Cities perform most functions in a very Industrial Age model.](https://sms4smile.com/quotes/jennifer-pahlka/cities-perform-most-functions-in-a-very-industrial-age-model/)

[Jennifer Pahlka](https://sms4smile.com/quotes/author/jennifer-pahlka/)

> [The English tradition offers the great tapestry novel, where you have the emotional aspect of a detective's personal life, the circumstances of the crime…](https://sms4smile.com/quotes/elizabeth-george/the-english-tradition-offers-the-great-tapestry-novel-where-you-have/)

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

> [It used to hurt when people ran down my films. I used to feel inferior. I wouldn't go to parties or award functions because…](https://sms4smile.com/quotes/rohit-shetty/it-used-to-hurt-when-people-ran-down-my-films-i-used-to-feel-inferior/)

[Rohit Shetty](https://sms4smile.com/quotes/author/rohit-shetty/)

> [Today, you have neuroscientists working on a genetic, behavioural or cognitive level, and then you have informaticians, chemists and mathematicians. They all have their…](https://sms4smile.com/quotes/henry-markram/today-you-have-neuroscientists-working-on-a-genetic-behavioural-or/)

[Henry Markram](https://sms4smile.com/quotes/author/henry-markram/)

> [There are several patients - there are thousands of patients, tens of thousands of patients, that carry either a stimulator in the brain or…](https://sms4smile.com/quotes/miguel-nicolelis/there-are-several-patients-there-are-thousands-of-patients-tens-of/)

[Miguel Nicolelis](https://sms4smile.com/quotes/author/miguel-nicolelis/)

> [From ancient times, the core idea of the soul is the soul is the capacity to integrate different functions into a single being or…](https://sms4smile.com/quotes/john-ortberg/from-ancient-times-the-core-idea-of-the-soul-is-the-soul-is-the/)

[John Ortberg](https://sms4smile.com/quotes/author/john-ortberg/)

> [The circulatory system of man and the vertebrate animals can be considered as made up of a small number of organs or subordinate systems,…](https://sms4smile.com/quotes/august-krogh/the-circulatory-system-of-man-and-the-vertebrate-animals-can-be/)

[August Krogh](https://sms4smile.com/quotes/author/august-krogh/)

> [We are victims of the post-Enlightenment view that the world functions like a sophisticated machine, to be understood like a textbook engineering problem and…](https://sms4smile.com/quotes/nassim-nicholas-taleb/we-are-victims-of-the-post-enlightenment-view-that-the-world/)

[Nassim Nicholas Taleb](https://sms4smile.com/quotes/author/nassim-nicholas-taleb/)

## 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 Functions quotes

> [We are victims of the post-Enlightenment view that the world functions like a sophisticated machine, to be understood like a textbook engineering problem and…](https://sms4smile.com/quotes/nassim-nicholas-taleb/we-are-victims-of-the-post-enlightenment-view-that-the-world/)

[Nassim Nicholas Taleb](https://sms4smile.com/quotes/author/nassim-nicholas-taleb/)

> [The circulatory system of man and the vertebrate animals can be considered as made up of a small number of organs or subordinate systems,…](https://sms4smile.com/quotes/august-krogh/the-circulatory-system-of-man-and-the-vertebrate-animals-can-be/)

[August Krogh](https://sms4smile.com/quotes/author/august-krogh/)

> [From ancient times, the core idea of the soul is the soul is the capacity to integrate different functions into a single being or…](https://sms4smile.com/quotes/john-ortberg/from-ancient-times-the-core-idea-of-the-soul-is-the-soul-is-the/)

[John Ortberg](https://sms4smile.com/quotes/author/john-ortberg/)

> [There are several patients - there are thousands of patients, tens of thousands of patients, that carry either a stimulator in the brain or…](https://sms4smile.com/quotes/miguel-nicolelis/there-are-several-patients-there-are-thousands-of-patients-tens-of/)

[Miguel Nicolelis](https://sms4smile.com/quotes/author/miguel-nicolelis/)

> [Today, you have neuroscientists working on a genetic, behavioural or cognitive level, and then you have informaticians, chemists and mathematicians. They all have their…](https://sms4smile.com/quotes/henry-markram/today-you-have-neuroscientists-working-on-a-genetic-behavioural-or/)

[Henry Markram](https://sms4smile.com/quotes/author/henry-markram/)

> [It used to hurt when people ran down my films. I used to feel inferior. I wouldn't go to parties or award functions because…](https://sms4smile.com/quotes/rohit-shetty/it-used-to-hurt-when-people-ran-down-my-films-i-used-to-feel-inferior/)

[Rohit Shetty](https://sms4smile.com/quotes/author/rohit-shetty/)

> [The English tradition offers the great tapestry novel, where you have the emotional aspect of a detective's personal life, the circumstances of the crime…](https://sms4smile.com/quotes/elizabeth-george/the-english-tradition-offers-the-great-tapestry-novel-where-you-have/)

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

> [Cities perform most functions in a very Industrial Age model.](https://sms4smile.com/quotes/jennifer-pahlka/cities-perform-most-functions-in-a-very-industrial-age-model/)

[Jennifer Pahlka](https://sms4smile.com/quotes/author/jennifer-pahlka/)

> [Computers have cut-and-paste functions. So does right-wing historical memory.](https://sms4smile.com/quotes/rick-perlstein/computers-have-cut-and-paste-functions-so-does-right-wing-historical/)

[Rick Perlstein](https://sms4smile.com/quotes/author/rick-perlstein/)

> [Clearly, as a CEO, you have other functions that are managed by other people.](https://sms4smile.com/quotes/al-waleed-bin-talal/clearly-as-a-ceo-you-have-other-functions-that-are-managed-by-other/)

[Al-Waleed bin Talal](https://sms4smile.com/quotes/author/al-waleed-bin-talal/)

> [I promise to myself I will make cars that work and functions worldwide.](https://sms4smile.com/quotes/winfried-vahland/i-promise-to-myself-i-will-make-cars-that-work-and-functions-worldwide/)

[Winfried Vahland](https://sms4smile.com/quotes/author/winfried-vahland/)

> [Conservatives believe the economy functions better if the rich have more money and everyone else has less. But they're wrong. It's just the opposite.](https://sms4smile.com/quotes/robert-reich/conservatives-believe-the-economy-functions-better-if-the-rich-have/)

[Robert Reich](https://sms4smile.com/quotes/author/robert-reich/)

> [Uses are always much broader than functions, and usually far less contentious. The word function carries overtones of purpose andpropriety, of concern with why…](https://sms4smile.com/quotes/frank-smith/uses-are-always-much-broader-than-functions-and-usually-far-less/)

[Frank Smith](https://sms4smile.com/quotes/author/frank-smith/)

> [As a consequence of these hesitations and of the vague character of such innovations, the Commission on Human Rights itself had doubts from the…](https://sms4smile.com/quotes/rene-cassin/as-a-consequence-of-these-hesitations-and-of-the-vague-character-of/)

[Rene Cassin](https://sms4smile.com/quotes/author/rene-cassin/)

> [If children do not understand the Constitution, they cannot understand how our government functions, or what their rights and responsibilities are as citizens of…](https://sms4smile.com/quotes/john-roberts/if-children-do-not-understand-the-constitution-they-cannot-understand/)

[John Roberts](https://sms4smile.com/quotes/author/john-roberts/)

Browse all 92 Functions quotes

```json
{
    "@context": "https://schema.org",
    "@graph": [
        {
            "@type": "Quotation",
            "text": "“Here’s the short story: functions are objects in JavaScript. In”",
            "creator": {
                "@type": "Person",
                "name": "Eric Freeman"
            },
            "isPartOf": {
                "@id": "https://sms4smile.com/quotes/#website"
            },
            "url": "https://sms4smile.com/quotes/eric-freeman/here-s-the-short-story-functions-are-objects-in-javascript-in/",
            "about": {
                "@type": "Thing",
                "name": "Functions"
            },
            "@id": "https://sms4smile.com/quotes/eric-freeman/here-s-the-short-story-functions-are-objects-in-javascript-in/#quotation",
            "image": {
                "@type": "ImageObject",
                "@id": "https://sms4smile.com/quotes/i/e64/eric-freeman-7573_quote_here-s-the-short-story-functions-are-obj_1683713.jpg",
                "contentUrl": "https://sms4smile.com/quotes/i/e64/eric-freeman-7573_quote_here-s-the-short-story-functions-are-obj_1683713.jpg",
                "url": "https://sms4smile.com/quotes/i/e64/eric-freeman-7573_quote_here-s-the-short-story-functions-are-obj_1683713.jpg",
                "width": 1080,
                "height": 1080,
                "caption": "“Here’s the short story: functions are objects in JavaScript. In” — 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": "“Here’s the short story: functions are...",
                    "item": "https://sms4smile.com/quotes/eric-freeman/here-s-the-short-story-functions-are-objects-in-javascript-in/"
                }
            ],
            "@id": "https://sms4smile.com/quotes/eric-freeman/here-s-the-short-story-functions-are-objects-in-javascript-in/#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
            }
        }
    ]
}
```
