---
title: "Meaning & Key Takeaway of: methods in objects are properties too…"
description: "\"“methods in objects are properties too. They just happen to have a function assigned to them.”\" — Eric Freeman"
image: "https://sms4smile.com/quotes/i/3d0/eric-freeman-7573_objects_methods-in-objects-are-properties-too-th_516915.jpg"
---

#  methods in objects are properties too. They just happen to…

![“methods in objects are properties too. They just happen to have a function assigned to them.” quote by Eric Freeman](https://sms4smile.com/quotes/i/3d0/eric-freeman-7573_objects_methods-in-objects-are-properties-too-th_516915.jpg)   [Download](https://sms4smile.com/quotes/i/3d0/eric-freeman-7573_objects_methods-in-objects-are-properties-too-th_516915.jpg) [Open image](https://sms4smile.com/quotes/i/3d0/eric-freeman-7573_objects_methods-in-objects-are-properties-too-th_516915.jpg)

> ““methods in objects are properties too. They just happen to have a function assigned to them.””

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

Objects have properties that can be functions, blurring the line between data and behavior.

**In simple terms:** Objects can hold functions as properties.

Key Takeaway

Leverage functions as object properties.

Themes

programming software design abstraction

Mood

analytical curious

Type

technical educational

When to use this quote

- API design
- code refactoring
- software architecture

Key Concepts

object-oriented functional programming

Questions to Reflect On

- How does this affect code readability?
- When should you use function properties?

A Different Perspective

May confuse beginners unfamiliar with concepts.

★ ★ ★ ★ ★   No ratings yet

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

## Related quotes

> [“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/)

> [“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/)

> [“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/)

> [Inanimate objects are sometimes parties to litigation. A ship has a legal personality, a fiction found useful for maritime purposes. The corporation sole -…](https://sms4smile.com/quotes/william-o-douglas/inanimate-objects-are-sometimes-parties-to-litigation-a-ship-has-a/)

[William O. Douglas](https://sms4smile.com/quotes/author/william-o-douglas/)

> [... the happiness of a people is the only rational object of government, and the only object for which a people, free to choose,…](https://sms4smile.com/quotes/frances-wright/the-happiness-of-a-people-is-the-only-rational-object-of-government/)

[Frances Wright](https://sms4smile.com/quotes/author/frances-wright/)

> [The things of the world are ever rising and falling, and in perpetual change; and this change must be according to the will of…](https://sms4smile.com/quotes/wilhelm-von-humboldt/the-things-of-the-world-are-ever-rising-and-falling-and-in-perpetual/)

[Wilhelm von Humboldt](https://sms4smile.com/quotes/author/wilhelm-von-humboldt/)

> [God is a reality of spirit He cannot be conceived as an object, not even as the very highest object. God is not to…](https://sms4smile.com/quotes/nikolai-berdyaev/god-is-a-reality-of-spirit-he-cannot-be-conceived-as-an-object-not/)

[Nikolai Berdyaev](https://sms4smile.com/quotes/author/nikolai-berdyaev/)

> [A lot of my work involves instilling objects with the power of touch - a transference of soul, spirit, energy through actions.](https://sms4smile.com/quotes/dan-colen/a-lot-of-my-work-involves-instilling-objects-with-the-power-of-touch/)

[Dan Colen](https://sms4smile.com/quotes/author/dan-colen/)

> [ He \[an earnest young reporter\] seemed to share the view of many intelligent, well-educated, well-meaning people that, while adult literature may aim to be… ](https://sms4smile.com/quotes/katherine-paterson/he-an-earnest-young-reporter-seemed-to-share-the-view-of-many/)

[Katherine Paterson](https://sms4smile.com/quotes/author/katherine-paterson/)

> [At the centre of the human heart is the longing for an absolute good, a longing which is always there and is never appeased…](https://sms4smile.com/quotes/simone-weil/at-the-centre-of-the-human-heart-is-the-longing-for-an-absolute-good/)

[Simone Weil](https://sms4smile.com/quotes/author/simone-weil/)

> [And so it is, that both the Devil and the angelic Spirit present us with objects of desire to awaken our power of choice.](https://sms4smile.com/quotes/rumi/and-so-it-is-that-both-the-devil-and-the-angelic-spirit-present-us/)

[Rumi](https://sms4smile.com/quotes/author/rumi/)

> [How do you, on the one hand, not object to Hillary Clinton being elected, and then, on the other hand, tell people, "Elect me…](https://sms4smile.com/quotes/rush-limbaugh/how-do-you-on-the-one-hand-not-object-to-hillary-clinton-being/)

[Rush Limbaugh](https://sms4smile.com/quotes/author/rush-limbaugh/)

> [The religion of art, like the religion of politics, was born from the ruins of Christianity. Art inherited from the old religion the power…](https://sms4smile.com/quotes/octavio-paz/the-religion-of-art-like-the-religion-of-politics-was-born-from-the/)

[Octavio Paz](https://sms4smile.com/quotes/author/octavio-paz/)

> [The sublime in art is the attempt to express the infinite without finding in the realm of phenomena any object which proves itself fitting…](https://sms4smile.com/quotes/georg-wilhelm-friedrich-hegel/the-sublime-in-art-is-the-attempt-to-express-the-infinite-without/)

[Georg Wilhelm Friedrich Hegel](https://sms4smile.com/quotes/author/georg-wilhelm-friedrich-hegel/)

> [The more perfect the sight is the more delightful the beautiful object. The more perfect the appetite, the sweeter the food. The more musical…](https://sms4smile.com/quotes/richard-baxter/the-more-perfect-the-sight-is-the-more-delightful-the-beautiful/)

[Richard Baxter](https://sms4smile.com/quotes/author/richard-baxter/)

## 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/)

> [“Two objects are equal only if the variables containing the object references point to the same object.”](https://sms4smile.com/quotes/eric-freeman/two-objects-are-equal-only-if-the-variables-containing-the-object/)

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

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

## More Objects quotes

> [The more perfect the sight is the more delightful the beautiful object. The more perfect the appetite, the sweeter the food. The more musical…](https://sms4smile.com/quotes/richard-baxter/the-more-perfect-the-sight-is-the-more-delightful-the-beautiful/)

[Richard Baxter](https://sms4smile.com/quotes/author/richard-baxter/)

> [The sublime in art is the attempt to express the infinite without finding in the realm of phenomena any object which proves itself fitting…](https://sms4smile.com/quotes/georg-wilhelm-friedrich-hegel/the-sublime-in-art-is-the-attempt-to-express-the-infinite-without/)

[Georg Wilhelm Friedrich Hegel](https://sms4smile.com/quotes/author/georg-wilhelm-friedrich-hegel/)

> [The religion of art, like the religion of politics, was born from the ruins of Christianity. Art inherited from the old religion the power…](https://sms4smile.com/quotes/octavio-paz/the-religion-of-art-like-the-religion-of-politics-was-born-from-the/)

[Octavio Paz](https://sms4smile.com/quotes/author/octavio-paz/)

> [How do you, on the one hand, not object to Hillary Clinton being elected, and then, on the other hand, tell people, "Elect me…](https://sms4smile.com/quotes/rush-limbaugh/how-do-you-on-the-one-hand-not-object-to-hillary-clinton-being/)

[Rush Limbaugh](https://sms4smile.com/quotes/author/rush-limbaugh/)

> [And so it is, that both the Devil and the angelic Spirit present us with objects of desire to awaken our power of choice.](https://sms4smile.com/quotes/rumi/and-so-it-is-that-both-the-devil-and-the-angelic-spirit-present-us/)

[Rumi](https://sms4smile.com/quotes/author/rumi/)

> [At the centre of the human heart is the longing for an absolute good, a longing which is always there and is never appeased…](https://sms4smile.com/quotes/simone-weil/at-the-centre-of-the-human-heart-is-the-longing-for-an-absolute-good/)

[Simone Weil](https://sms4smile.com/quotes/author/simone-weil/)

> [ He \[an earnest young reporter\] seemed to share the view of many intelligent, well-educated, well-meaning people that, while adult literature may aim to be… ](https://sms4smile.com/quotes/katherine-paterson/he-an-earnest-young-reporter-seemed-to-share-the-view-of-many/)

[Katherine Paterson](https://sms4smile.com/quotes/author/katherine-paterson/)

> [A lot of my work involves instilling objects with the power of touch - a transference of soul, spirit, energy through actions.](https://sms4smile.com/quotes/dan-colen/a-lot-of-my-work-involves-instilling-objects-with-the-power-of-touch/)

[Dan Colen](https://sms4smile.com/quotes/author/dan-colen/)

> [God is a reality of spirit He cannot be conceived as an object, not even as the very highest object. God is not to…](https://sms4smile.com/quotes/nikolai-berdyaev/god-is-a-reality-of-spirit-he-cannot-be-conceived-as-an-object-not/)

[Nikolai Berdyaev](https://sms4smile.com/quotes/author/nikolai-berdyaev/)

> [The things of the world are ever rising and falling, and in perpetual change; and this change must be according to the will of…](https://sms4smile.com/quotes/wilhelm-von-humboldt/the-things-of-the-world-are-ever-rising-and-falling-and-in-perpetual/)

[Wilhelm von Humboldt](https://sms4smile.com/quotes/author/wilhelm-von-humboldt/)

> [... the happiness of a people is the only rational object of government, and the only object for which a people, free to choose,…](https://sms4smile.com/quotes/frances-wright/the-happiness-of-a-people-is-the-only-rational-object-of-government/)

[Frances Wright](https://sms4smile.com/quotes/author/frances-wright/)

> [Used with due abstinence, hope acts as a healthful tonic; intemperately indulged, as an enervating opiate. The visions of future triumph, which at first…](https://sms4smile.com/quotes/james-fitzjames-stephen/used-with-due-abstinence-hope-acts-as-a-healthful-tonic-intemperately/)

[James Fitzjames Stephen](https://sms4smile.com/quotes/author/james-fitzjames-stephen/)

> [Poems come from ordinary experiences and objects, I think. Out of memory - a dress I lent my daughter on her way back to…](https://sms4smile.com/quotes/sharon-olds/poems-come-from-ordinary-experiences-and-objects-i-think-out-of/)

[Sharon Olds](https://sms4smile.com/quotes/author/sharon-olds/)

> [I think dressing up or down should be a creative experience. Exciting. Fun. For me the key to personal style lies in accessories. I…](https://sms4smile.com/quotes/iris-apfel/i-think-dressing-up-or-down-should-be-a-creative-experience-exciting/)

[Iris Apfel](https://sms4smile.com/quotes/author/iris-apfel/)

> [No matter the style, the farther one goes the more obstacles increase, and the more distant appears the object it is desired to attain.…](https://sms4smile.com/quotes/jean-georges-noverre/no-matter-the-style-the-farther-one-goes-the-more-obstacles-increase/)

[Jean-Georges Noverre](https://sms4smile.com/quotes/author/jean-georges-noverre/)

Browse all 3,786 Objects quotes

```json
{
    "@context": "https://schema.org",
    "@graph": [
        {
            "@type": "Quotation",
            "text": "“methods in objects are properties too. They just happen to have a function assigned to them.”",
            "creator": {
                "@type": "Person",
                "name": "Eric Freeman"
            },
            "isPartOf": {
                "@id": "https://sms4smile.com/quotes/#website"
            },
            "url": "https://sms4smile.com/quotes/eric-freeman/methods-in-objects-are-properties-too-they-just-happen-to-have-a/",
            "about": {
                "@type": "Thing",
                "name": "Objects"
            },
            "@id": "https://sms4smile.com/quotes/eric-freeman/methods-in-objects-are-properties-too-they-just-happen-to-have-a/#quotation",
            "image": {
                "@type": "ImageObject",
                "@id": "https://sms4smile.com/quotes/i/3d0/eric-freeman-7573_objects_methods-in-objects-are-properties-too-th_516915.jpg",
                "contentUrl": "https://sms4smile.com/quotes/i/3d0/eric-freeman-7573_objects_methods-in-objects-are-properties-too-th_516915.jpg",
                "url": "https://sms4smile.com/quotes/i/3d0/eric-freeman-7573_objects_methods-in-objects-are-properties-too-th_516915.jpg",
                "width": 1080,
                "height": 1080,
                "caption": "“methods in objects are properties too. They just happen to have a function assigned to them.” — 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": "“methods in objects are properties too....",
                    "item": "https://sms4smile.com/quotes/eric-freeman/methods-in-objects-are-properties-too-they-just-happen-to-have-a/"
                }
            ],
            "@id": "https://sms4smile.com/quotes/eric-freeman/methods-in-objects-are-properties-too-they-just-happen-to-have-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
            }
        }
    ]
}
```
