---
title: "Best Technology Quotes by Eric Freeman"
description: "60 Technology quotes by Eric Freeman. Plus more from Eric Freeman and more Technology sayings from other authors."
image: "https://sms4smile.com/quotes/i/978/eric-freeman-7573_technology_if-you-change-any-property-in-the-protot_507556.jpg"
---

> [“If you change any property in the prototype, it affects all the objects that inherit from that prototype, unless that object has…](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/)

[Image](https://sms4smile.com/quotes/i/978/eric-freeman-7573_technology_if-you-change-any-property-in-the-protot_507556.jpg)

> [“If you assign a new variable without using the var keyword, that variable will be global, even if you are first assigning…](https://sms4smile.com/quotes/eric-freeman/if-you-assign-a-new-variable-without-using-the-var-keyword-that/)

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

[Image](https://sms4smile.com/quotes/i/862/eric-freeman-7573_without-u_if-you-assign-a-new-variable-without-usi_947814.jpg)

> [“two forms of the Adapter Pattern: object and class adapters. Class adapters require multiple inheritance. You can implement more”](https://sms4smile.com/quotes/eric-freeman/two-forms-of-the-adapter-pattern-object-and-class-adapters-class/)

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

[Image](https://sms4smile.com/quotes/i/85c/eric-freeman-7573_technology_two-forms-of-the-adapter-pattern-object_3216483.jpg)

> [“JavaScript: Don’t judge me by my bad parts, learn the good stuff and stick with that!”](https://sms4smile.com/quotes/eric-freeman/javascript-don-t-judge-me-by-my-bad-parts-learn-the-good-stuff-and/)

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

[Image](https://sms4smile.com/quotes/i/e62/eric-freeman-7573_learn_javascript-don-t-judge-me-by-my-bad-part_2676219.jpg)

> [“JavaScript has a very powerful object model, but one that is a bit different than the status quo object-oriented language. Rather than…](https://sms4smile.com/quotes/eric-freeman/javascript-has-a-very-powerful-object-model-but-one-that-is-a-bit/)

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

[Image](https://sms4smile.com/quotes/i/5fc/eric-freeman-7573_status-quo_javascript-has-a-very-powerful-object-mo_2335202.jpg)

> [“You see, now that we have a prototype, if we add any methods to that prototype, even after we’ve already created dog…](https://sms4smile.com/quotes/eric-freeman/you-see-now-that-we-have-a-prototype-if-we-add-any-methods-to-that/)

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

[Image](https://sms4smile.com/quotes/i/8ac/eric-freeman-7573_habits_you-see-now-that-we-have-a-prototype-if_2593608.jpg)

> [“Q: Q: You said getElementsByTagName returns a list. Do you mean an array? A: A: It returns an object that you can…](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/)

[Image](https://sms4smile.com/quotes/i/c92/eric-freeman-7573_technology_q-q-you-said-getelementsbytagname-return_353623.jpg)

> [“when you send an object the worker gets a copy of it. Any changes the worker makes will not affect the object…](https://sms4smile.com/quotes/eric-freeman/when-you-send-an-object-the-worker-gets-a-copy-of-it-any-changes-the/)

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

[Image](https://sms4smile.com/quotes/i/d3f/eric-freeman-7573_quote_when-you-send-an-object-the-worker-gets_1665263.jpg)

> [“JavaScript creates all local variables at the beginning of a function whether you declare them or not (this is called “hoisting” and…](https://sms4smile.com/quotes/eric-freeman/javascript-creates-all-local-variables-at-the-beginning-of-a-function/)

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

[Image](https://sms4smile.com/quotes/i/d1c/eric-freeman-7573_quote_javascript-creates-all-local-variables-a_880658.jpg)

> [“the truth is JavaScript actually makes two passes over your page: in the first pass it reads all the function definitions, and…](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/)

[Image](https://sms4smile.com/quotes/i/514/eric-freeman-7573_programming_the-truth-is-javascript-actually-makes-t_500549.jpg)

> [“The hasOwnProperty method returns true if a property is defined in an object instance. If it’s not, but you can access that…](https://sms4smile.com/quotes/eric-freeman/the-hasownproperty-method-returns-true-if-a-property-is-defined-in-an/)

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

[Image](https://sms4smile.com/quotes/i/615/eric-freeman-7573_technology_the-hasownproperty-method-returns-true-i_657692.jpg)

> [“JavaScript: When an event occurs, like the ones you’ve mentioned, that event is added to a queue. I don’t even look at it…](https://sms4smile.com/quotes/eric-freeman/javascript-when-an-event-occurs-like-the-ones-you-ve-mentioned-that/)

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

[Image](https://sms4smile.com/quotes/i/cc7/eric-freeman-7573_queue_javascript-when-an-event-occurs-like-the_611414.jpg)

> [“when you assign a value to a variable name that hasn’t been previously declared, it is treated as a new, global variable.…](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/)

[Image](https://sms4smile.com/quotes/i/7b1/eric-freeman-7573_technology_when-you-assign-a-value-to-a-variable-na_46501.jpg)

> [“Now, when we have an environment that has a value for each of the free variables, we say that we’ve closed the…](https://sms4smile.com/quotes/eric-freeman/now-when-we-have-an-environment-that-has-a-value-for-each-of-the-free/)

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

[Image](https://sms4smile.com/quotes/i/143/eric-freeman-7573_quote_now-when-we-have-an-environment-that-has_1592094.jpg)

> [“When you call an object’s method, this is set to the object whose method was called. If the method is not found…](https://sms4smile.com/quotes/eric-freeman/when-you-call-an-object-s-method-this-is-set-to-the-object-whose/)

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

[Image](https://sms4smile.com/quotes/i/303/eric-freeman-7573_quote_when-you-call-an-object-s-method-this-is_906140.jpg)

> [“By lexical scope we mean that JavaScript’s rules for scoping are based purely on the structure of your code (not on some…](https://sms4smile.com/quotes/eric-freeman/by-lexical-scope-we-mean-that-javascript-s-rules-for-scoping-are/)

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

[Image](https://sms4smile.com/quotes/i/886/eric-freeman-7573_programming_by-lexical-scope-we-mean-that-javascript_624317.jpg)

> [“Using a method to change a property is another example of encapsulation whereby we can often improve the maintainability and extensibility of…](https://sms4smile.com/quotes/eric-freeman/using-a-method-to-change-a-property-is-another-example-of/)

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

[Image](https://sms4smile.com/quotes/i/e46/eric-freeman-7573_programming_using-a-method-to-change-a-property-is-a_2067171.jpg)

> [“Well, say you write a handler and it requires a lot of computation — that is, something that takes a long time…](https://sms4smile.com/quotes/eric-freeman/well-say-you-write-a-handler-and-it-requires-a-lot-of-computation/)

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

[Image](https://sms4smile.com/quotes/i/38b/eric-freeman-7573_computers_well-say-you-write-a-handler-and-it-requ_1741101.jpg)

> [“When you pass zero to setTimeout, you’re asking JavaScript to run your timeout handler as soon as it possibly can — and…](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/)

[Image](https://sms4smile.com/quotes/i/40a/eric-freeman-7573_technology_when-you-pass-zero-to-settimeout-you-re_233939.jpg)

> [“One thing that often misleads people learning closures is that they think the environment in the closure must have a copy of…](https://sms4smile.com/quotes/eric-freeman/one-thing-that-often-misleads-people-learning-closures-is-that-they/)

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

[Image](https://sms4smile.com/quotes/i/608/eric-freeman-7573_quote_one-thing-that-often-misleads-people-lea_1882853.jpg)

## Other authors on Technology

- [ ![](https://sms4smile.com/quotes/wp-content/uploads/sms4s/authors/processed/b005/author-bill-gates-17911.jpg) Bill Gates 187 quotes ](https://sms4smile.com/quotes/about/technology/bill-gates/)
- [ ![](https://sms4smile.com/quotes/wp-content/uploads/sms4s/authors/processed/b022/author-steve-jobs-87290.jpg) Steve Jobs 140 quotes ](https://sms4smile.com/quotes/about/technology/steve-jobs/)
- [ ![](https://sms4smile.com/quotes/wp-content/uploads/sms4s/authors/processed/b024/author-walter-isaacson-94380.jpg) Walter Isaacson 125 quotes ](https://sms4smile.com/quotes/about/technology/walter-isaacson/)
- [ ![](https://sms4smile.com/quotes/wp-content/uploads/sms4s/authors/processed/b016/author-linus-torvalds-60596.jpg) Linus Torvalds 109 quotes ](https://sms4smile.com/quotes/about/technology/linus-torvalds/)
- [Pearl Zhu 96 quotes](https://sms4smile.com/quotes/about/technology/pearl-zhu/)
- [ ![](https://sms4smile.com/quotes/wp-content/uploads/sms4s/authors/processed/b022/author-sherry-turkle-84937.jpg) Sherry Turkle 62 quotes ](https://sms4smile.com/quotes/about/technology/sherry-turkle/)
- [ ![](https://sms4smile.com/quotes/wp-content/uploads/sms4s/authors/processed/b018/author-narendra-modi-70220.jpg) Narendra Modi 60 quotes ](https://sms4smile.com/quotes/about/technology/narendra-modi/)
- [ ![](https://sms4smile.com/quotes/wp-content/uploads/sms4s/authors/processed/b023/author-tim-cook-90852.jpg) Tim Cook 59 quotes ](https://sms4smile.com/quotes/about/technology/tim-cook/)
- [ ![](https://sms4smile.com/quotes/wp-content/uploads/sms4s/authors/processed/b021/author-satya-nadella-83432.jpg) Satya Nadella 54 quotes ](https://sms4smile.com/quotes/about/technology/satya-nadella/)
- [ ![](https://sms4smile.com/quotes/wp-content/uploads/sms4s/authors/processed/b024/author-walt-mossberg-94304.jpg) Walt Mossberg 52 quotes ](https://sms4smile.com/quotes/about/technology/walt-mossberg/)
- [ ![](https://sms4smile.com/quotes/wp-content/uploads/sms4s/authors/processed/b012/author-jaron-lanier-47365.jpg) Jaron Lanier 49 quotes ](https://sms4smile.com/quotes/about/technology/jaron-lanier/)
- [ ![](https://sms4smile.com/quotes/wp-content/uploads/sms4s/authors/processed/b005/author-barack-obama-16275.jpg) Barack Obama 48 quotes ](https://sms4smile.com/quotes/about/technology/barack-obama/)

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

```json
{
    "@context": "https://schema.org",
    "@graph": [
        {
            "@type": "ItemList",
            "@id": "https://sms4smile.com/quotes/about/technology/eric-freeman/#itemlist",
            "name": "Best Technology Quotes by Eric Freeman",
            "numberOfItems": 20,
            "itemListElement": [
                {
                    "@type": "ListItem",
                    "position": 1,
                    "item": {
                        "@type": "Quotation",
                        "text": "“If you change any property in the prototype, it affects all the objects that inherit from that prototype, unless that object has overridden that property.”",
                        "creator": {
                            "@type": "Person",
                            "name": "Eric Freeman"
                        },
                        "url": "https://sms4smile.com/quotes/eric-freeman/if-you-change-any-property-in-the-prototype-it-affects-all-the/",
                        "image": {
                            "@type": "ImageObject",
                            "@id": "https://sms4smile.com/quotes/i/978/eric-freeman-7573_technology_if-you-change-any-property-in-the-protot_507556.jpg",
                            "contentUrl": "https://sms4smile.com/quotes/i/978/eric-freeman-7573_technology_if-you-change-any-property-in-the-protot_507556.jpg",
                            "url": "https://sms4smile.com/quotes/i/978/eric-freeman-7573_technology_if-you-change-any-property-in-the-protot_507556.jpg",
                            "width": 1080,
                            "height": 1080,
                            "caption": "“If you change any property in the prototype, it affects all the objects that inherit from that prototype…” — Eric Freeman",
                            "creditText": "SMS4Smile Quotes",
                            "creator": {
                                "@id": "https://sms4smile.com/quotes/#organization"
                            }
                        }
                    }
                },
                {
                    "@type": "ListItem",
                    "position": 2,
                    "item": {
                        "@type": "Quotation",
                        "text": "“If you assign a new variable without using the var keyword, that variable will be global, even if you are first assigning it in a function.”",
                        "creator": {
                            "@type": "Person",
                            "name": "Eric Freeman"
                        },
                        "url": "https://sms4smile.com/quotes/eric-freeman/if-you-assign-a-new-variable-without-using-the-var-keyword-that/",
                        "image": {
                            "@type": "ImageObject",
                            "@id": "https://sms4smile.com/quotes/i/862/eric-freeman-7573_without-u_if-you-assign-a-new-variable-without-usi_947814.jpg",
                            "contentUrl": "https://sms4smile.com/quotes/i/862/eric-freeman-7573_without-u_if-you-assign-a-new-variable-without-usi_947814.jpg",
                            "url": "https://sms4smile.com/quotes/i/862/eric-freeman-7573_without-u_if-you-assign-a-new-variable-without-usi_947814.jpg",
                            "width": 1080,
                            "height": 1080,
                            "caption": "“If you assign a new variable without using the var keyword, that variable will be global, even if you are…” — Eric Freeman",
                            "creditText": "SMS4Smile Quotes",
                            "creator": {
                                "@id": "https://sms4smile.com/quotes/#organization"
                            }
                        }
                    }
                },
                {
                    "@type": "ListItem",
                    "position": 3,
                    "item": {
                        "@type": "Quotation",
                        "text": "“two forms of the Adapter Pattern: object and class adapters. Class adapters require multiple inheritance. You can implement more”",
                        "creator": {
                            "@type": "Person",
                            "name": "Eric Freeman"
                        },
                        "url": "https://sms4smile.com/quotes/eric-freeman/two-forms-of-the-adapter-pattern-object-and-class-adapters-class/",
                        "image": {
                            "@type": "ImageObject",
                            "@id": "https://sms4smile.com/quotes/i/85c/eric-freeman-7573_technology_two-forms-of-the-adapter-pattern-object_3216483.jpg",
                            "contentUrl": "https://sms4smile.com/quotes/i/85c/eric-freeman-7573_technology_two-forms-of-the-adapter-pattern-object_3216483.jpg",
                            "url": "https://sms4smile.com/quotes/i/85c/eric-freeman-7573_technology_two-forms-of-the-adapter-pattern-object_3216483.jpg",
                            "width": 1080,
                            "height": 1080,
                            "caption": "“two forms of the Adapter Pattern: object and class adapters. Class adapters require multiple inheritance…” — Eric Freeman",
                            "creditText": "SMS4Smile Quotes",
                            "creator": {
                                "@id": "https://sms4smile.com/quotes/#organization"
                            }
                        }
                    }
                },
                {
                    "@type": "ListItem",
                    "position": 4,
                    "item": {
                        "@type": "Quotation",
                        "text": "“JavaScript: Don’t judge me by my bad parts, learn the good stuff and stick with that!”",
                        "creator": {
                            "@type": "Person",
                            "name": "Eric Freeman"
                        },
                        "url": "https://sms4smile.com/quotes/eric-freeman/javascript-don-t-judge-me-by-my-bad-parts-learn-the-good-stuff-and/",
                        "image": {
                            "@type": "ImageObject",
                            "@id": "https://sms4smile.com/quotes/i/e62/eric-freeman-7573_learn_javascript-don-t-judge-me-by-my-bad-part_2676219.jpg",
                            "contentUrl": "https://sms4smile.com/quotes/i/e62/eric-freeman-7573_learn_javascript-don-t-judge-me-by-my-bad-part_2676219.jpg",
                            "url": "https://sms4smile.com/quotes/i/e62/eric-freeman-7573_learn_javascript-don-t-judge-me-by-my-bad-part_2676219.jpg",
                            "width": 1080,
                            "height": 1080,
                            "caption": "“JavaScript: Don’t judge me by my bad parts, learn the good stuff and stick with that!” — Eric Freeman",
                            "creditText": "SMS4Smile Quotes",
                            "creator": {
                                "@id": "https://sms4smile.com/quotes/#organization"
                            }
                        }
                    }
                },
                {
                    "@type": "ListItem",
                    "position": 5,
                    "item": {
                        "@type": "Quotation",
                        "text": "“JavaScript has a very powerful object model, but one that is a bit different than the status quo object-oriented language. Rather than the typical class-based object-oriented system, JavaScript instead opts for a more powerful prototype model, where objects can inherit and extend the behavior of other objects. What”",
                        "creator": {
                            "@type": "Person",
                            "name": "Eric Freeman"
                        },
                        "url": "https://sms4smile.com/quotes/eric-freeman/javascript-has-a-very-powerful-object-model-but-one-that-is-a-bit/",
                        "image": {
                            "@type": "ImageObject",
                            "@id": "https://sms4smile.com/quotes/i/5fc/eric-freeman-7573_status-quo_javascript-has-a-very-powerful-object-mo_2335202.jpg",
                            "contentUrl": "https://sms4smile.com/quotes/i/5fc/eric-freeman-7573_status-quo_javascript-has-a-very-powerful-object-mo_2335202.jpg",
                            "url": "https://sms4smile.com/quotes/i/5fc/eric-freeman-7573_status-quo_javascript-has-a-very-powerful-object-mo_2335202.jpg",
                            "width": 1080,
                            "height": 1080,
                            "caption": "“JavaScript has a very powerful object model, but one that is a bit different than the status quo…” — Eric Freeman",
                            "creditText": "SMS4Smile Quotes",
                            "creator": {
                                "@id": "https://sms4smile.com/quotes/#organization"
                            }
                        }
                    }
                },
                {
                    "@type": "ListItem",
                    "position": 6,
                    "item": {
                        "@type": "Quotation",
                        "text": "“You see, now that we have a prototype, if we add any methods to that prototype, even after we’ve already created dog objects, all dogs inheriting from the prototype immediately and automatically get this new behavior.”",
                        "creator": {
                            "@type": "Person",
                            "name": "Eric Freeman"
                        },
                        "url": "https://sms4smile.com/quotes/eric-freeman/you-see-now-that-we-have-a-prototype-if-we-add-any-methods-to-that/",
                        "image": {
                            "@type": "ImageObject",
                            "@id": "https://sms4smile.com/quotes/i/8ac/eric-freeman-7573_habits_you-see-now-that-we-have-a-prototype-if_2593608.jpg",
                            "contentUrl": "https://sms4smile.com/quotes/i/8ac/eric-freeman-7573_habits_you-see-now-that-we-have-a-prototype-if_2593608.jpg",
                            "url": "https://sms4smile.com/quotes/i/8ac/eric-freeman-7573_habits_you-see-now-that-we-have-a-prototype-if_2593608.jpg",
                            "width": 1080,
                            "height": 1080,
                            "caption": "“You see, now that we have a prototype, if we add any methods to that prototype, even after we’ve already…” — Eric Freeman",
                            "creditText": "SMS4Smile Quotes",
                            "creator": {
                                "@id": "https://sms4smile.com/quotes/#organization"
                            }
                        }
                    }
                },
                {
                    "@type": "ListItem",
                    "position": 7,
                    "item": {
                        "@type": "Quotation",
                        "text": "“Q: Q: You said getElementsByTagName returns a list. Do you mean an array? A: A: It returns an object that you can treat like an array, but it’s actually an object called a NodeList. A NodeList is a collection of Nodes, which is just a technical name for the element objects that you see in the DOM tree. You”",
                        "creator": {
                            "@type": "Person",
                            "name": "Eric Freeman"
                        },
                        "url": "https://sms4smile.com/quotes/eric-freeman/q-q-you-said-getelementsbytagname-returns-a-list-do-you-mean-an-array/",
                        "image": {
                            "@type": "ImageObject",
                            "@id": "https://sms4smile.com/quotes/i/c92/eric-freeman-7573_technology_q-q-you-said-getelementsbytagname-return_353623.jpg",
                            "contentUrl": "https://sms4smile.com/quotes/i/c92/eric-freeman-7573_technology_q-q-you-said-getelementsbytagname-return_353623.jpg",
                            "url": "https://sms4smile.com/quotes/i/c92/eric-freeman-7573_technology_q-q-you-said-getelementsbytagname-return_353623.jpg",
                            "width": 1080,
                            "height": 1080,
                            "caption": "“Q: Q: You said getElementsByTagName returns a list. Do you mean an array? A: A: It returns an object that…” — Eric Freeman",
                            "creditText": "SMS4Smile Quotes",
                            "creator": {
                                "@id": "https://sms4smile.com/quotes/#organization"
                            }
                        }
                    }
                },
                {
                    "@type": "ListItem",
                    "position": 8,
                    "item": {
                        "@type": "Quotation",
                        "text": "“when you send an object the worker gets a copy of it. Any changes the worker makes will not affect the object in your main page. The worker is executing in a different environment than your main page, so you have no access to objects there. The same is true of objects the worker sends you: you get a copy of them.”",
                        "creator": {
                            "@type": "Person",
                            "name": "Eric Freeman"
                        },
                        "url": "https://sms4smile.com/quotes/eric-freeman/when-you-send-an-object-the-worker-gets-a-copy-of-it-any-changes-the/",
                        "image": {
                            "@type": "ImageObject",
                            "@id": "https://sms4smile.com/quotes/i/d3f/eric-freeman-7573_quote_when-you-send-an-object-the-worker-gets_1665263.jpg",
                            "contentUrl": "https://sms4smile.com/quotes/i/d3f/eric-freeman-7573_quote_when-you-send-an-object-the-worker-gets_1665263.jpg",
                            "url": "https://sms4smile.com/quotes/i/d3f/eric-freeman-7573_quote_when-you-send-an-object-the-worker-gets_1665263.jpg",
                            "width": 1080,
                            "height": 1080,
                            "caption": "“when you send an object the worker gets a copy of it. Any changes the worker makes will not affect the…” — Eric Freeman",
                            "creditText": "SMS4Smile Quotes",
                            "creator": {
                                "@id": "https://sms4smile.com/quotes/#organization"
                            }
                        }
                    }
                },
                {
                    "@type": "ListItem",
                    "position": 9,
                    "item": {
                        "@type": "Quotation",
                        "text": "“JavaScript creates all local variables at the beginning of a function whether you declare them or not (this is called “hoisting” and we’ll come back to it later), but the variables are all undefined until they are assigned a value, which might not be what you want.”",
                        "creator": {
                            "@type": "Person",
                            "name": "Eric Freeman"
                        },
                        "url": "https://sms4smile.com/quotes/eric-freeman/javascript-creates-all-local-variables-at-the-beginning-of-a-function/",
                        "image": {
                            "@type": "ImageObject",
                            "@id": "https://sms4smile.com/quotes/i/d1c/eric-freeman-7573_quote_javascript-creates-all-local-variables-a_880658.jpg",
                            "contentUrl": "https://sms4smile.com/quotes/i/d1c/eric-freeman-7573_quote_javascript-creates-all-local-variables-a_880658.jpg",
                            "url": "https://sms4smile.com/quotes/i/d1c/eric-freeman-7573_quote_javascript-creates-all-local-variables-a_880658.jpg",
                            "width": 1080,
                            "height": 1080,
                            "caption": "“JavaScript creates all local variables at the beginning of a function whether you declare them or not (this…” — Eric Freeman",
                            "creditText": "SMS4Smile Quotes",
                            "creator": {
                                "@id": "https://sms4smile.com/quotes/#organization"
                            }
                        }
                    }
                },
                {
                    "@type": "ListItem",
                    "position": 10,
                    "item": {
                        "@type": "Quotation",
                        "text": "“the truth is JavaScript actually makes two passes over your page: in the first pass it reads all the function definitions, and in the second it begins executing your code. So,”",
                        "creator": {
                            "@type": "Person",
                            "name": "Eric Freeman"
                        },
                        "url": "https://sms4smile.com/quotes/eric-freeman/the-truth-is-javascript-actually-makes-two-passes-over-your-page-in/",
                        "image": {
                            "@type": "ImageObject",
                            "@id": "https://sms4smile.com/quotes/i/514/eric-freeman-7573_programming_the-truth-is-javascript-actually-makes-t_500549.jpg",
                            "contentUrl": "https://sms4smile.com/quotes/i/514/eric-freeman-7573_programming_the-truth-is-javascript-actually-makes-t_500549.jpg",
                            "url": "https://sms4smile.com/quotes/i/514/eric-freeman-7573_programming_the-truth-is-javascript-actually-makes-t_500549.jpg",
                            "width": 1080,
                            "height": 1080,
                            "caption": "“the truth is JavaScript actually makes two passes over your page: in the first pass it reads all the…” — Eric Freeman",
                            "creditText": "SMS4Smile Quotes",
                            "creator": {
                                "@id": "https://sms4smile.com/quotes/#organization"
                            }
                        }
                    }
                },
                {
                    "@type": "ListItem",
                    "position": 11,
                    "item": {
                        "@type": "Quotation",
                        "text": "“The hasOwnProperty method returns true if a property is defined in an object instance. If it’s not, but you can access that property, then you can assume the property must be defined in the object’s prototype.”",
                        "creator": {
                            "@type": "Person",
                            "name": "Eric Freeman"
                        },
                        "url": "https://sms4smile.com/quotes/eric-freeman/the-hasownproperty-method-returns-true-if-a-property-is-defined-in-an/",
                        "image": {
                            "@type": "ImageObject",
                            "@id": "https://sms4smile.com/quotes/i/615/eric-freeman-7573_technology_the-hasownproperty-method-returns-true-i_657692.jpg",
                            "contentUrl": "https://sms4smile.com/quotes/i/615/eric-freeman-7573_technology_the-hasownproperty-method-returns-true-i_657692.jpg",
                            "url": "https://sms4smile.com/quotes/i/615/eric-freeman-7573_technology_the-hasownproperty-method-returns-true-i_657692.jpg",
                            "width": 1080,
                            "height": 1080,
                            "caption": "“The hasOwnProperty method returns true if a property is defined in an object instance. If it’s not, but you…” — Eric Freeman",
                            "creditText": "SMS4Smile Quotes",
                            "creator": {
                                "@id": "https://sms4smile.com/quotes/#organization"
                            }
                        }
                    }
                },
                {
                    "@type": "ListItem",
                    "position": 12,
                    "item": {
                        "@type": "Quotation",
                        "text": "“JavaScript: When an event occurs, like the ones you’ve mentioned, that event is added to a queue. I don’t even look at it until I’ve finished whatever I’m working on. That way I do everything correctly and safely and efficiently.”",
                        "creator": {
                            "@type": "Person",
                            "name": "Eric Freeman"
                        },
                        "url": "https://sms4smile.com/quotes/eric-freeman/javascript-when-an-event-occurs-like-the-ones-you-ve-mentioned-that/",
                        "image": {
                            "@type": "ImageObject",
                            "@id": "https://sms4smile.com/quotes/i/cc7/eric-freeman-7573_queue_javascript-when-an-event-occurs-like-the_611414.jpg",
                            "contentUrl": "https://sms4smile.com/quotes/i/cc7/eric-freeman-7573_queue_javascript-when-an-event-occurs-like-the_611414.jpg",
                            "url": "https://sms4smile.com/quotes/i/cc7/eric-freeman-7573_queue_javascript-when-an-event-occurs-like-the_611414.jpg",
                            "width": 1080,
                            "height": 1080,
                            "caption": "“JavaScript: When an event occurs, like the ones you’ve mentioned, that event is added to a queue. I don’t…” — Eric Freeman",
                            "creditText": "SMS4Smile Quotes",
                            "creator": {
                                "@id": "https://sms4smile.com/quotes/#organization"
                            }
                        }
                    }
                },
                {
                    "@type": "ListItem",
                    "position": 13,
                    "item": {
                        "@type": "Quotation",
                        "text": "“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 careful, if you do this within a function you are creating a global variable. Note”",
                        "creator": {
                            "@type": "Person",
                            "name": "Eric Freeman"
                        },
                        "url": "https://sms4smile.com/quotes/eric-freeman/when-you-assign-a-value-to-a-variable-name-that-hasn-t-been/",
                        "image": {
                            "@type": "ImageObject",
                            "@id": "https://sms4smile.com/quotes/i/7b1/eric-freeman-7573_technology_when-you-assign-a-value-to-a-variable-na_46501.jpg",
                            "contentUrl": "https://sms4smile.com/quotes/i/7b1/eric-freeman-7573_technology_when-you-assign-a-value-to-a-variable-na_46501.jpg",
                            "url": "https://sms4smile.com/quotes/i/7b1/eric-freeman-7573_technology_when-you-assign-a-value-to-a-variable-na_46501.jpg",
                            "width": 1080,
                            "height": 1080,
                            "caption": "“when you assign a value to a variable name that hasn’t been previously declared, it is treated as a new…” — Eric Freeman",
                            "creditText": "SMS4Smile Quotes",
                            "creator": {
                                "@id": "https://sms4smile.com/quotes/#organization"
                            }
                        }
                    }
                },
                {
                    "@type": "ListItem",
                    "position": 14,
                    "item": {
                        "@type": "Quotation",
                        "text": "“Now, when we have an environment that has a value for each of the free variables, we say that we’ve closed the function. And, when we take the function and the environment together, we say we have a closure.”",
                        "creator": {
                            "@type": "Person",
                            "name": "Eric Freeman"
                        },
                        "url": "https://sms4smile.com/quotes/eric-freeman/now-when-we-have-an-environment-that-has-a-value-for-each-of-the-free/",
                        "image": {
                            "@type": "ImageObject",
                            "@id": "https://sms4smile.com/quotes/i/143/eric-freeman-7573_quote_now-when-we-have-an-environment-that-has_1592094.jpg",
                            "contentUrl": "https://sms4smile.com/quotes/i/143/eric-freeman-7573_quote_now-when-we-have-an-environment-that-has_1592094.jpg",
                            "url": "https://sms4smile.com/quotes/i/143/eric-freeman-7573_quote_now-when-we-have-an-environment-that-has_1592094.jpg",
                            "width": 1080,
                            "height": 1080,
                            "caption": "“Now, when we have an environment that has a value for each of the free variables, we say that we’ve closed…” — Eric Freeman",
                            "creditText": "SMS4Smile Quotes",
                            "creator": {
                                "@id": "https://sms4smile.com/quotes/#organization"
                            }
                        }
                    }
                },
                {
                    "@type": "ListItem",
                    "position": 15,
                    "item": {
                        "@type": "Quotation",
                        "text": "“When you call an object’s method, this is set to the object whose method was called. If the method is not found in that object, and is found in the prototype, that doesn’t change the value of this. this always refers to the original object — that is, the object whose method was called — even if the method is in the prototype. So,”",
                        "creator": {
                            "@type": "Person",
                            "name": "Eric Freeman"
                        },
                        "url": "https://sms4smile.com/quotes/eric-freeman/when-you-call-an-object-s-method-this-is-set-to-the-object-whose/",
                        "image": {
                            "@type": "ImageObject",
                            "@id": "https://sms4smile.com/quotes/i/303/eric-freeman-7573_quote_when-you-call-an-object-s-method-this-is_906140.jpg",
                            "contentUrl": "https://sms4smile.com/quotes/i/303/eric-freeman-7573_quote_when-you-call-an-object-s-method-this-is_906140.jpg",
                            "url": "https://sms4smile.com/quotes/i/303/eric-freeman-7573_quote_when-you-call-an-object-s-method-this-is_906140.jpg",
                            "width": 1080,
                            "height": 1080,
                            "caption": "“When you call an object’s method, this is set to the object whose method was called. If the method is not…” — Eric Freeman",
                            "creditText": "SMS4Smile Quotes",
                            "creator": {
                                "@id": "https://sms4smile.com/quotes/#organization"
                            }
                        }
                    }
                },
                {
                    "@type": "ListItem",
                    "position": 16,
                    "item": {
                        "@type": "Quotation",
                        "text": "“By lexical scope we mean that JavaScript’s rules for scoping are based purely on the structure of your code (not on some dynamic runtime properties). This means you can determine where a variable is defined by simply examining your code’s structure. Also”",
                        "creator": {
                            "@type": "Person",
                            "name": "Eric Freeman"
                        },
                        "url": "https://sms4smile.com/quotes/eric-freeman/by-lexical-scope-we-mean-that-javascript-s-rules-for-scoping-are/",
                        "image": {
                            "@type": "ImageObject",
                            "@id": "https://sms4smile.com/quotes/i/886/eric-freeman-7573_programming_by-lexical-scope-we-mean-that-javascript_624317.jpg",
                            "contentUrl": "https://sms4smile.com/quotes/i/886/eric-freeman-7573_programming_by-lexical-scope-we-mean-that-javascript_624317.jpg",
                            "url": "https://sms4smile.com/quotes/i/886/eric-freeman-7573_programming_by-lexical-scope-we-mean-that-javascript_624317.jpg",
                            "width": 1080,
                            "height": 1080,
                            "caption": "“By lexical scope we mean that JavaScript’s rules for scoping are based purely on the structure of your code…” — Eric Freeman",
                            "creditText": "SMS4Smile Quotes",
                            "creator": {
                                "@id": "https://sms4smile.com/quotes/#organization"
                            }
                        }
                    }
                },
                {
                    "@type": "ListItem",
                    "position": 17,
                    "item": {
                        "@type": "Quotation",
                        "text": "“Using a method to change a property is another example of encapsulation whereby we can often improve the maintainability and extensibility of code by letting an object worry about how it gets things done. It’s”",
                        "creator": {
                            "@type": "Person",
                            "name": "Eric Freeman"
                        },
                        "url": "https://sms4smile.com/quotes/eric-freeman/using-a-method-to-change-a-property-is-another-example-of/",
                        "image": {
                            "@type": "ImageObject",
                            "@id": "https://sms4smile.com/quotes/i/e46/eric-freeman-7573_programming_using-a-method-to-change-a-property-is-a_2067171.jpg",
                            "contentUrl": "https://sms4smile.com/quotes/i/e46/eric-freeman-7573_programming_using-a-method-to-change-a-property-is-a_2067171.jpg",
                            "url": "https://sms4smile.com/quotes/i/e46/eric-freeman-7573_programming_using-a-method-to-change-a-property-is-a_2067171.jpg",
                            "width": 1080,
                            "height": 1080,
                            "caption": "“Using a method to change a property is another example of encapsulation whereby we can often improve the…” — Eric Freeman",
                            "creditText": "SMS4Smile Quotes",
                            "creator": {
                                "@id": "https://sms4smile.com/quotes/#organization"
                            }
                        }
                    }
                },
                {
                    "@type": "ListItem",
                    "position": 18,
                    "item": {
                        "@type": "Quotation",
                        "text": "“Well, say you write a handler and it requires a lot of computation — that is, something that takes a long time to compute. As long as your handler is chugging along computing, I’m sitting around waiting until it’s done. Only then can I continue with the queue.”",
                        "creator": {
                            "@type": "Person",
                            "name": "Eric Freeman"
                        },
                        "url": "https://sms4smile.com/quotes/eric-freeman/well-say-you-write-a-handler-and-it-requires-a-lot-of-computation/",
                        "image": {
                            "@type": "ImageObject",
                            "@id": "https://sms4smile.com/quotes/i/38b/eric-freeman-7573_computers_well-say-you-write-a-handler-and-it-requ_1741101.jpg",
                            "contentUrl": "https://sms4smile.com/quotes/i/38b/eric-freeman-7573_computers_well-say-you-write-a-handler-and-it-requ_1741101.jpg",
                            "url": "https://sms4smile.com/quotes/i/38b/eric-freeman-7573_computers_well-say-you-write-a-handler-and-it-requ_1741101.jpg",
                            "width": 1080,
                            "height": 1080,
                            "caption": "“Well, say you write a handler and it requires a lot of computation — that is, something that takes a long…” — Eric Freeman",
                            "creditText": "SMS4Smile Quotes",
                            "creator": {
                                "@id": "https://sms4smile.com/quotes/#organization"
                            }
                        }
                    }
                },
                {
                    "@type": "ListItem",
                    "position": 19,
                    "item": {
                        "@type": "Quotation",
                        "text": "“When you pass zero to setTimeout, you’re asking JavaScript to run your timeout handler as soon as it possibly can — and this leads to your handler running as frequently as it possibly can.”",
                        "creator": {
                            "@type": "Person",
                            "name": "Eric Freeman"
                        },
                        "url": "https://sms4smile.com/quotes/eric-freeman/when-you-pass-zero-to-settimeout-you-re-asking-javascript-to-run-your/",
                        "image": {
                            "@type": "ImageObject",
                            "@id": "https://sms4smile.com/quotes/i/40a/eric-freeman-7573_technology_when-you-pass-zero-to-settimeout-you-re_233939.jpg",
                            "contentUrl": "https://sms4smile.com/quotes/i/40a/eric-freeman-7573_technology_when-you-pass-zero-to-settimeout-you-re_233939.jpg",
                            "url": "https://sms4smile.com/quotes/i/40a/eric-freeman-7573_technology_when-you-pass-zero-to-settimeout-you-re_233939.jpg",
                            "width": 1080,
                            "height": 1080,
                            "caption": "“When you pass zero to setTimeout, you’re asking JavaScript to run your timeout handler as soon as it…” — Eric Freeman",
                            "creditText": "SMS4Smile Quotes",
                            "creator": {
                                "@id": "https://sms4smile.com/quotes/#organization"
                            }
                        }
                    }
                },
                {
                    "@type": "ListItem",
                    "position": 20,
                    "item": {
                        "@type": "Quotation",
                        "text": "“One thing that often misleads people learning closures is that they think the environment in the closure must have a copy of all the variables and their values. It doesn’t. In”",
                        "creator": {
                            "@type": "Person",
                            "name": "Eric Freeman"
                        },
                        "url": "https://sms4smile.com/quotes/eric-freeman/one-thing-that-often-misleads-people-learning-closures-is-that-they/",
                        "image": {
                            "@type": "ImageObject",
                            "@id": "https://sms4smile.com/quotes/i/608/eric-freeman-7573_quote_one-thing-that-often-misleads-people-lea_1882853.jpg",
                            "contentUrl": "https://sms4smile.com/quotes/i/608/eric-freeman-7573_quote_one-thing-that-often-misleads-people-lea_1882853.jpg",
                            "url": "https://sms4smile.com/quotes/i/608/eric-freeman-7573_quote_one-thing-that-often-misleads-people-lea_1882853.jpg",
                            "width": 1080,
                            "height": 1080,
                            "caption": "“One thing that often misleads people learning closures is that they think the environment in the closure…” — Eric Freeman",
                            "creditText": "SMS4Smile Quotes",
                            "creator": {
                                "@id": "https://sms4smile.com/quotes/#organization"
                            }
                        }
                    }
                }
            ]
        },
        {
            "@type": "CollectionPage",
            "@id": "https://sms4smile.com/quotes/about/technology/eric-freeman/page/2/#webpage",
            "url": "https://sms4smile.com/quotes/about/technology/eric-freeman/page/2/",
            "name": "Technology Quotes by Eric Freeman · Page 2",
            "isPartOf": {
                "@id": "https://sms4smile.com/quotes/#website"
            },
            "mainEntity": {
                "@id": "https://sms4smile.com/quotes/about/technology/eric-freeman/#itemlist"
            },
            "primaryImageOfPage": {
                "@id": "https://sms4smile.com/quotes/i/978/eric-freeman-7573_technology_if-you-change-any-property-in-the-protot_507556.jpg"
            },
            "description": "60 Technology quotes by Eric Freeman. Plus more from Eric Freeman and more Technology sayings from other authors.",
            "breadcrumb": {
                "@id": "https://sms4smile.com/quotes/about/technology/eric-freeman/page/2/#breadcrumb"
            }
        },
        {
            "@type": "BreadcrumbList",
            "@id": "https://sms4smile.com/quotes/about/technology/eric-freeman/page/2/#breadcrumb",
            "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": "Topics",
                    "item": "https://sms4smile.com/quotes/categories/"
                },
                {
                    "@type": "ListItem",
                    "position": 4,
                    "name": "Technology",
                    "item": "https://sms4smile.com/quotes/about/technology/"
                },
                {
                    "@type": "ListItem",
                    "position": 5,
                    "name": "Eric Freeman",
                    "item": "https://sms4smile.com/quotes/about/technology/eric-freeman/page/2/"
                }
            ]
        },
        {
            "@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
            }
        }
    ]
}
```
