<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Private Properties Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/private-properties/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/private-properties/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Wed, 13 Apr 2022 16:30:47 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>Private Properties and Methods in JavaScript</title>
		<link>https://www.scmgalaxy.com/tutorials/private-properties-and-methods-in-javascript/</link>
					<comments>https://www.scmgalaxy.com/tutorials/private-properties-and-methods-in-javascript/#respond</comments>
		
		<dc:creator><![CDATA[rajeshkumar]]></dc:creator>
		<pubDate>Wed, 04 Aug 2021 10:07:34 +0000</pubDate>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Methods in JavaScript]]></category>
		<category><![CDATA[Private Properties]]></category>
		<category><![CDATA[Prototype Object]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=7358</guid>

					<description><![CDATA[<p>Private Properties and Methods Using var or let or const you can create private properties and methods. Ex: &#8211;this.pricevar pricelet [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/private-properties-and-methods-in-javascript/">Private Properties and Methods in JavaScript</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading">Private Properties and Methods</h2>



<p class="wp-block-paragraph">Using var or let or const you can create private properties and methods.</p>



<p class="wp-block-paragraph"><strong>Ex: &#8211;<br>this.price<br>var price<br>let price</strong></p>



<h2 class="wp-block-heading">Prototype</h2>



<p class="wp-block-paragraph">Every object has an internal prototype that gives it its structure. This internal prototype is a reference to an object describing the code and data that all objects of that same type will have in common.</p>



<h2 class="wp-block-heading">Prototype Object</h2>



<p class="wp-block-paragraph">Every object is associated with another Object in JavaScript</p>



<script src="https://gist.github.com/vijaypk376/f1122b4bceaa6288caa7819ad39da063.js"></script>



<h2 class="wp-block-heading">Prototype Object</h2>



<p class="wp-block-paragraph">Every object is associated with another object in JavaScript.</p>



<script src="https://gist.github.com/vijaypk376/b75a4166de20a23e117da7c753f1498f.js"></script>



<p class="wp-block-paragraph">Note &#8211; Prototype Object of Object.prototype is null</p>



<h2 class="wp-block-heading">Prototype Object</h2>



<p class="wp-block-paragraph">Every object is associated with another object in JavaScript.</p>



<script src="https://gist.github.com/vijaypk376/135c9f5b995aacba15acd7246656d951.js"></script>



<p class="wp-block-paragraph">Note &#8211; Prototype Object of Object.prototype is null</p>



<h2 class="wp-block-heading">Prototype Object</h2>



<p class="wp-block-paragraph">Every object is associated with another object in JavaScript.</p>



<script src="https://gist.github.com/vijaypk376/f11c7e8a559d07f217349b7b4b9e9222.js"></script>



<p class="wp-block-paragraph">Note &#8211; Prototype Object of Array.prototype is Object.prototype and<br>           Prototype Object of Object.prototype is null</p>



<h2 class="wp-block-heading">Prototype Object</h2>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="614" height="319" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/pototype-object.png" alt="" class="wp-image-7361" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/pototype-object.png 614w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/pototype-object-300x156.png 300w" sizes="(max-width: 614px) 100vw, 614px" /></figure>



<script src="https://gist.github.com/vijaypk376/152b0aae506e4bc46d6ae966e820e1cd.js"></script>



<figure class="wp-block-image size-large"><img decoding="async" width="942" height="521" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/pototype-object-function-mobile.png" alt="" class="wp-image-7364" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/pototype-object-function-mobile.png 942w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/pototype-object-function-mobile-300x166.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/pototype-object-function-mobile-768x425.png 768w" sizes="(max-width: 942px) 100vw, 942px" /></figure>



<script src="https://gist.github.com/vijaypk376/bf959f46d0492dcb19332e0578ac3b8f.js"></script>



<figure class="wp-block-image size-large"><img decoding="async" width="927" height="401" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/pototype-object-function-mobile-2.png" alt="" class="wp-image-7367" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/pototype-object-function-mobile-2.png 927w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/pototype-object-function-mobile-2-300x130.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/pototype-object-function-mobile-2-768x332.png 768w" sizes="(max-width: 927px) 100vw, 927px" /></figure>



<script src="https://gist.github.com/vijaypk376/55b34fe00e9b805884095d6e4311b024.js"></script>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="730" height="360" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/pototype-object-function-mobile-3.png" alt="" class="wp-image-7368" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/pototype-object-function-mobile-3.png 730w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/pototype-object-function-mobile-3-300x148.png 300w" sizes="auto, (max-width: 730px) 100vw, 730px" /></figure>



<script src="https://gist.github.com/vijaypk376/37e7dafd1fd45001afaadccf31ca7b44.js"></script>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="858" height="404" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/pototype-object-function-mobile-4.png" alt="" class="wp-image-7369" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/pototype-object-function-mobile-4.png 858w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/pototype-object-function-mobile-4-300x141.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/pototype-object-function-mobile-4-768x362.png 768w" sizes="auto, (max-width: 858px) 100vw, 858px" /></figure>



<script src="https://gist.github.com/vijaypk376/32a3117d1e37046296194c35f147911f.js"></script>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="726" height="393" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/pototype-object-function-mobile-5.png" alt="" class="wp-image-7370" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/pototype-object-function-mobile-5.png 726w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/pototype-object-function-mobile-5-300x162.png 300w" sizes="auto, (max-width: 726px) 100vw, 726px" /></figure>



<script src="https://gist.github.com/vijaypk376/b5ae44b236d3662e508579be5b911f30.js"></script>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="940" height="507" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/pototype-object.prototype.png" alt="" class="wp-image-7371" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/pototype-object.prototype.png 940w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/pototype-object.prototype-300x162.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/pototype-object.prototype-768x414.png 768w" sizes="auto, (max-width: 940px) 100vw, 940px" /></figure>



<script src="https://gist.github.com/vijaypk376/9ab47c9d25b29b3535a273f8548be934.js"></script>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="941" height="514" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/pototype-object.prototype-1.png" alt="" class="wp-image-7372" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/pototype-object.prototype-1.png 941w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/pototype-object.prototype-1-300x164.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/pototype-object.prototype-1-768x420.png 768w" sizes="auto, (max-width: 941px) 100vw, 941px" /></figure>



<script src="https://gist.github.com/vijaypk376/5c8779baae355ffb1e02411c994759fa.js"></script>



<p class="wp-block-paragraph"></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/private-properties-and-methods-in-javascript/">Private Properties and Methods in JavaScript</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/private-properties-and-methods-in-javascript/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
