<?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>Boolean Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/boolean/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/boolean/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Wed, 13 Apr 2022 16:30:46 +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>How many data types How to work are there in JavaScript?</title>
		<link>https://www.scmgalaxy.com/tutorials/how-many-data-types-how-to-work-are-there-in-javascript/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-many-data-types-how-to-work-are-there-in-javascript/#respond</comments>
		
		<dc:creator><![CDATA[rajeshkumar]]></dc:creator>
		<pubDate>Thu, 05 Aug 2021 10:45:37 +0000</pubDate>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Accessing String]]></category>
		<category><![CDATA[Boolean]]></category>
		<category><![CDATA[data types]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[String]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=7438</guid>

					<description><![CDATA[<p>Boolean Boolean is the built-in object corresponding to the primitive Boolean data type. JavaScript boolean can have one of two [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-many-data-types-how-to-work-are-there-in-javascript/">How many data types How to work are there 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">Boolean</h2>



<p class="wp-block-paragraph">Boolean is the built-in object corresponding to the primitive Boolean data type. JavaScript boolean can have one of two values: true or false.</p>



<p class="wp-block-paragraph"><strong>Primitive Values</strong><br>var primitiveTrue = true;<br>var primitiveFalse = false;</p>



<p class="wp-block-paragraph"><strong>Boolean Function</strong><br>var functionTrue = Boolean(true);<br>var functionFalse = Boolean(flase);</p>



<p class="wp-block-paragraph"><strong>Boolean Constructor</strong><br>var constructorTrue = new Boolean(true);<br>var constructorFalse = new Boolean(false);</p>



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



<p class="wp-block-paragraph">If value parameter is omitted or is 0, -0, null, false, NaN, undefined, or the empty string (&#8220;&#8221;), the object has an initial value of false.</p>



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



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



<p class="wp-block-paragraph">A string is a built-in object corresponding to the primitive string data type.<br>A string is a group of characters.</p>



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



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



<p class="wp-block-paragraph"><strong>Primitive</strong><br>var str = “Hello DevopsSchool”;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br>var str = „Hello DevopsSchool‟; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<span class="has-inline-color has-vivid-red-color"><strong>String</strong>  </span>                            <br>var str = <code>Hello DevopsSchool</code>;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>



<p class="wp-block-paragraph"><strong>Constructor</strong><br>var str = new String (“Hello DevopsSchool”);&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br>var str = new String („Hello DevopsSchool‟); &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; <strong><span class="has-inline-color has-vivid-red-color">Object</span></strong><br>var str = new String (<code>Hello DevopsSchool</code>);&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>



<h2 class="wp-block-heading">Accessing String</h2>



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



<h2 class="wp-block-heading">Access String</h2>



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



<h2 class="wp-block-heading">String Concatenation</h2>



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



<h2 class="wp-block-heading">Concat Operator</h2>



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



<h2 class="wp-block-heading">Template Literal/ Template Strings</h2>



<p class="wp-block-paragraph">Template literals are string literals allowing embedded expressions. You can<br>use multi-line strings and string interpolation features with them.<br>Template literals are enclosed by the back-tick () character instead of double<br>or single quotes.</p>



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



<h2 class="wp-block-heading">Multiple Line String</h2>



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



<h2 class="wp-block-heading">String Interpolation</h2>



<p class="wp-block-paragraph">Template literals can contain placeholders. These are indicated by the dollar sign and curly braces<br>(${expression})</p>



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



<h2 class="wp-block-heading">String Methods</h2>



<ul class="wp-block-list"><li><strong>charAt ( )</strong></li><li><strong>charCodeAt( )</strong></li><li><strong>toUpperCase( )</strong></li><li><strong>toLowerCase ( )</strong></li><li><strong>Trim( )</strong></li><li><strong>Replace ( )</strong></li><li><strong>Split ( )</strong></li><li><strong>indexOf( )</strong></li><li><strong>Search ( )</strong></li><li><strong>Slice ( )</strong></li><li><strong>Substring( )</strong></li><li><strong>Substr ()</strong></li></ul>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-many-data-types-how-to-work-are-there-in-javascript/">How many data types How to work are there 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/how-many-data-types-how-to-work-are-there-in-javascript/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
