{"id":14609,"date":"2023-08-23T13:09:08","date_gmt":"2023-08-23T07:39:08","guid":{"rendered":"https:\/\/codingzap.com\/?p=14609"},"modified":"2025-04-01T12:01:15","modified_gmt":"2025-04-01T06:31:15","slug":"javascript-data-types","status":"publish","type":"post","link":"https:\/\/codingzap.com\/javascript-data-types\/","title":{"rendered":"JavaScript Data Types"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"14609\" class=\"elementor elementor-14609\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-5b48bbe8 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"5b48bbe8\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-78214b5\" data-id=\"78214b5\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-732675b4 elementor-widget elementor-widget-text-editor\" data-id=\"732675b4\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p data-pm-slice=\"1 1 []\">JavaScript plays a crucial role in web development, just like other programming languages do.\u00a0 In JavaScript programs, you&#8217;ll encounter various data types, and this article aims to be a comprehensive guide for beginners who want to understand these &#8220;<em><strong>JavaScript data types<\/strong><\/em>&#8220;<\/p><p>So, let us start our discussion.<\/p><p>\u00a0<\/p><h2><span style=\"color: #000000;\">What Are Different Categories Of JavaScript Data Types?<\/span><\/h2><p>\u00a0<\/p><p>Primarily, the data types in JavaScript can be classified into two categories. Again these two categories can be further divided into some other different types. There are eight basic data types present. We will know all about them one by one briefly.<\/p><p><img decoding=\"async\" src=\"https:\/\/images.surferseo.art\/6e30f0d2-d0e0-479d-9e61-5b6aac64eaec.png\" \/><\/p><h4>\u00a0<\/h4><h3><span style=\"color: #000000;\">First Category: Primitive Data Types:<\/span><\/h3><p>Primitive data types are the most basic data types in JavaScript programming. Primitive data types are considered the very first data type of JavaScript. And such data type is developed without taking the help of other data types.<\/p><p>The Primitive data types are non-mutable &amp; static. That means the value of such data type can&#8217;t flow to any other variable while the program is executing. And if any value has been provided to the variable, it can&#8217;t be changed in the program.<\/p><p>The Primitive data types can also be divided into some classes. There are seven primitive data types present. They are the following:<\/p><ol><li><span style=\"color: #000000;\"><strong>Number Data Type<\/strong><\/span><\/li><li><span style=\"color: #000000;\"><strong>String Data Type<\/strong><\/span><\/li><li><span style=\"color: #000000;\"><strong>BigInt Data Type<\/strong><\/span><\/li><li><span style=\"color: #000000;\"><strong>Boolean Data Type<\/strong><\/span><\/li><li><span style=\"color: #000000;\"><strong>Undefined Data Type<\/strong><\/span><\/li><li><span style=\"color: #000000;\"><strong>Null Data Type<\/strong><\/span><\/li><li><span style=\"color: #000000;\"><strong>Symbol Data Type<\/strong><\/span><\/li><\/ol><p>\u00a0<\/p><h3><span style=\"color: #000000;\">Second Category: Non Primitive Data Types:<\/span><\/h3><p>\u00a0<\/p><p>The second category we can define as the Non Primitive data type in JavaScript. The Non-primitive data types are the data types that are defined with the help of primitive data types.<\/p><p>Such kind of data type is Mutable in nature &amp; dynamic also. This means the value can be easily changed during the execution of the program.<\/p><p>There is only one kind of Data type present in this category. It is known as the <strong>Object Data Type<\/strong>. We will know more about it later.<\/p><p>\u00a0<\/p><h3><span style=\"color: #000000;\">What Is Number Data Type In JavaScript?<\/span><\/h3><p>\u00a0<\/p><p>The Number is not at all a complex data type in JavaScript. Inside the Number, the floating point, normal numbers can be associated. Also, the exponential notation can be included in the Number category.<\/p><pre class=\"codeblock\"><code>var z = 1000;  \/\/ Normal Integer Value\nvar a = 100.5;  \/\/ Floating Value \nvar p = 10e4; \/\/  Exponential Value Evaluates To 10*10000<\/code><\/pre><p>The number acts as the integer &amp; floating values in other languages. In the case of JavaScript, there is no need to declare an Integer variable as Int &amp; a Floating Variable as a Float. Everything here is considered a Number.<\/p><p>Now, the concept should become clear to you. We will now implement some programs that will help to clear the Number data type topic.<\/p><p>\u00a0<\/p><h4><span style=\"color: #000000;\">Play With The Number Data Type:<\/span><\/h4><p>\u00a0<\/p><h5><span style=\"color: #000000;\"><strong>A. The Infinite &amp; NaN Format In JavaScript:<\/strong><\/span><\/h5><p>\u00a0<\/p><p>In other languages, if we want to divide a number by zero, it gives us an error. But in the case of JavaScript, we don&#8217;t receive error messages. Rather, the Infinite message arrives.<\/p><p>Also, if we try to divide one string by some number, it will not give an error. Rather, it prints a NaN value that shows it is not applicable.<\/p><p><span style=\"color: #000000;\"><strong>Code To Define Infinite &amp; NaN Format In JavaScript:<\/strong><\/span><\/p><pre class=\"codeblock\"><code>const a = 10\/0; \/\/ Trying To Divide Number By Zero\nconsole.log(\"The Result Is: \", a); \/\/ Infinity Output\n\nconst b = \"zap\"\/10; \/\/ Trying To Divide String By Number\nconsole.log(\"The Division Result Is: \", b);  \/\/ NaN (Not Applicable) Output<\/code><\/pre><p><span style=\"color: #000000;\">Faced difficulties in understanding the code? no worries, you can take<a href=\"https:\/\/codingzap.com\/javascript-assignment-help\/\"> expert guidance for JavaScript homework <\/a><a href=\"https:\/\/codingzap.com\/javascript-assignment-help\/\">help<\/a> to\u00a0get all your questions answered.<\/span><\/p><p><span style=\"color: #000000;\"><strong>Output:<\/strong><\/span><\/p><p><img decoding=\"async\" src=\"https:\/\/images.surferseo.art\/70cf644c-0770-47de-b70c-7abbb8d8957c.png\" \/><\/p><p>From the output, we can see that in the first case, it is giving the Infinity message. And in the second case, it is giving the message NaN. So, the implementation of the program is errorless.<\/p><p>Now, let us look at another example of using Numbers.<\/p><p>\u00a0<\/p><h4><span style=\"color: #000000;\"><strong>B. Dynamic Nature Of Numbers:<\/strong><\/span><\/h4><p>\u00a0<\/p><p>The number of variables can become dynamic. If the variable has earlier assigned to one number data type &amp; now it is assigned with the String value. The same variable will be going to point to the string value.<\/p><p>Here, one variable earlier had a number value. We have changed the value to a string. Now, if we try to print the variable, we will get the string value, not the number value.<\/p><p><span style=\"color: #000000;\"><strong>Code To Define Dynamic Nature Of Numbers In JavaScript:<\/strong><\/span><\/p><pre class=\"codeblock\"><code>let x; \/\/ Declaration Of Variable\nx = 5; \/\/ Variable Is Now A Number\nx = \"ZapOne\"; \/\/ Variable Is Now A String\n\nconsole.log(\"The New Value Is: \", x); \/\/ Printing The Value<\/code><\/pre><p><span style=\"color: #000000;\"><strong>Output:<\/strong><\/span><\/p><p><img decoding=\"async\" src=\"https:\/\/images.surferseo.art\/c42aac58-3ce5-4c0e-9fd4-6250c9b94472.png\" \/><\/p><p>The output clearly shows that the variable has now the value of the string. It has removed the value of the number that it has earlier.<\/p><p>\u00a0<\/p><h3><span style=\"color: #000000;\">What Is String Datatype In JavaScript?<\/span><\/h3><p>\u00a0<\/p><p>In JavaScript, the string values are defined as the <a href=\"https:\/\/www.dashbot.io\/blog\/textual-data#:~:text=Textual%20data%20is%20information%20that,has%20been%20expressed%20in%20words.\">Textual Data<\/a>. That means, all the textual formats can be described as the String in JavaScript. And the String concept is the same just like other languages.<\/p><pre class=\"codeblock\"><code>var s1 = \u201cDouble Quote Sting\u201d;  \nvar s2= \u2018Single Quote Sting\u2019;\nvar s3 = `Tilda Sting`;<\/code><\/pre><p>In JavaScript, the strings are declared with the help of Single or Double Quotes. Sometimes, the Tilda symbol is also used for the declaration process.<\/p><p>We can implement some of the programs to get a clear understanding of Strings.<\/p><p>\u00a0<\/p><h4><span style=\"color: #000000;\">Play With The Strings In JavaScript:<\/span><\/h4><p>\u00a0<\/p><h5><span style=\"color: #000000;\"><strong>A. Game Of Single or Double Quotes:<\/strong><\/span><\/h5><p>\u00a0<\/p><p>In JavaScript strings, the use of single &amp; double quotes can also be possible inside any string. To demark, any string, we should use the Single or Double quotes.<\/p><p>But what if, we need to use another set of single &amp; double quotes inside of the string?<\/p><p><span style=\"color: #000000;\"><strong>Code To Define Use Of Quotes Inside Of Stirngs In JavaScript:<\/strong><\/span><\/p><pre class=\"codeblock\"><code>let a = \"-It Is 'ZapOne'-\"; \/\/ Single Quote Inside Double Quote String\nlet b = '-It Is \"CodingZap\"-'; \/\/ Double Quote Inside Inside Quote String\n\nconsole.log(\"The First String Is: \", a); \/\/ Printing First One\nconsole.log(\"The Second String Is: \", b); \/\/ Printing Second One<\/code><\/pre><p><span style=\"color: #000000;\"><strong>Output:<\/strong><\/span><\/p><p><img decoding=\"async\" src=\"https:\/\/images.surferseo.art\/38472ed0-f886-477f-989d-0b5312823558.png\" \/><\/p><p>From the above output, we can see that we have successfully used the single quote inside the double quote string. And in the second case, the double quotes are successfully used inside of the single quote string.<\/p><h5><span style=\"color: #000000;\"><strong>B. Concatenation Of Strings &amp; Numbers:<\/strong><\/span><\/h5><p>The concatenation process of the strings is very interesting in JavaScript. If we are trying to concatenate a string along with one number, so every time the number will not be considered as a string. It depends upon the placement process.<\/p><p>If only two values are pasted at the beginning of the concatenation process, it will act as the number. But if there is only one value present, it will be considered a string. But if values are pasted at the end, they will be treated as strings every time irrespective of their numbers.<\/p><p><span style=\"color: #000000;\"><strong>Code To Demonstrate Concatenation Of Strings &amp; Numbers In JavaScript:<\/strong><\/span><\/p><pre class=\"codeblock\"><code>let a1 = 10 + 20 + \"ZapOne\"; \/\/ Numbers Are Pasted In The Front\nlet a2 = \"CodingZap\" + 10 + 20; \/\/ Numbers Are Pasted At The End\n\nconsole.log(\"The First Result Is: \", a1); \/\/ Printing First One\nconsole.log(\"The Second Result Is: \", a2); \/\/ Printing Second One<\/code><\/pre><p><span style=\"color: #000000;\"><strong>Output:<\/strong><\/span><\/p><p><img decoding=\"async\" src=\"https:\/\/images.surferseo.art\/99370816-44d1-4bfa-b94c-b5c58ff1f038.png\" \/><\/p><p>In the above output, in the case of the first result, the numbers are added before going for concatenation as they are present in the front. In the second case, the numbers don&#8217;t add to each other. Rather, they are all concatenated as they are present at the backside.<\/p><p>\u00a0<\/p><h3><span style=\"color: #000000;\">What Is BigInt Data Type In JavaScript?<\/span><\/h3><p>\u00a0<\/p><p>BigInt is another important concept in the JavaScript program. The BigInt is necessary to work with big integer values. In the case of the BigInt, the numbers are not considered floating point numbers.<\/p><pre class=\"codeblock\"><code>let a = BigInt(\"978456789044444678901234567890\"); \/\/ Declaration With BigInt()\nconst value1 = 500071555554740998n; \/\/ Declaration With 'n' At The End<\/code><\/pre><p><strong>Code To Demonstrate BigInt Data Type In JavaScript:<\/strong><\/p><pre class=\"codeblock\"><code>const e1 = 500071555554740998n; \/\/ Declaration Of Big Value\nconst r1 = e1 + 2n; \/\/ Adding With Another Big Value\nconsole.log(\"The Result Value Will Be: \", r1); \/\/ Printing The Value<\/code><\/pre><p><span style=\"color: #000000;\"><strong>Output:<\/strong><\/span><\/p><p><img decoding=\"async\" src=\"https:\/\/images.surferseo.art\/ffb66fe9-0216-417f-a803-d7d5ae50858f.png\" \/><\/p><p>From the above output, we can see that the BigInt value is added with another bog value. And the complete value is printed in the program without using any floating point or decimal point values.<\/p><p>\u00a0<\/p><h3>What Is Boolean Value In JavaScript?<\/h3><p>\u00a0<\/p><p>The Boolean values in the JavaScript program act as the same in other languages. The Boolean values consist of only two types of values. One is the Boolean True value &amp; another is the Boolean False value.<\/p><pre class=\"codeblock\"><code>const a = true; \/\/ True Boolean Value\nconst b = false; \/\/ False Boolean Data<\/code><\/pre><p><strong><span style=\"color: #000000;\">Code To Define Boolean Values In JavaScript:<\/span><\/strong><\/p><pre class=\"codeblock\"><code>let d = 10; \/\/ First Value\nlet f = 10; \/\/ Second Value\nlet v = 22; \/\/ Third Value\n\nconsole.log (\"The Boolean Value In First Two Variables Is: \", (d == f));\nconsole.log (\"The Boolean Value In Last Two Variables Is: \", (f == v));<\/code><\/pre><p><span style=\"color: #000000;\"><strong>Output:<\/strong><\/span><\/p><p><img decoding=\"async\" src=\"https:\/\/images.surferseo.art\/4d59a199-a032-41c9-9133-3d3eba8ae375.png\" \/><\/p><p>As the first condition is satisfying, the respective result is giving the Boolean True Value. And in the next case, the condition is not satisfying with the data. So, the result is coming as Boolean False.<\/p><p>\u00a0<\/p><h3><span style=\"color: #000000;\">What Is Undefined Data Type In JavaScript?<\/span><\/h3><p>\u00a0<\/p><p>Undefined data type means whatever is declared as the variable in the program is not initiated at all. If any value has been given to the variable, it will not be considered as the Undefined element.<\/p><p>\u00a0<\/p><p><strong><span style=\"color: #000000;\">Code To Check Syntax &amp; Use Of Undefined Operation:<\/span><\/strong><\/p><p>\u00a0<\/p><pre class=\"codeblock\"><code>let x; \/\/ Declaring Variable \nconsole.log(\"The Value Is: \", x); \/\/ Printing Without Value Assigning<\/code><\/pre><p>In this case, the variable is not defined with values. And we are trying to print the value. So, it will give the Undefined message as the output.<\/p><p>\u00a0<\/p><h3><span style=\"color: #000000;\">What Is Null Value In JavaScript?<\/span><\/h3><p>\u00a0<\/p><p>The Null value occurs in JavaScript, when we are providing the specific Null data to some variable. In such a case, if we are trying to print the variable, it will not give us the Undefined message. Because the value is changed to Null type.<\/p><p><strong><span style=\"color: #000000;\">Code To Check Syntax &amp; Use Of Null Operation<\/span>:<\/strong><\/p><pre class=\"codeblock\"><code>let x = null; \/\/ Declaring Variable With Null\nconsole.log(\"The Value Is: \", x); \/\/ Printing Value<\/code><\/pre><p>In the above case, we have provided the Null Value to the variable. Now, if we try to print the value. We will get the Null message rather than Undefined. That means the variable is declared successfully.<\/p><p>\u00a0<\/p><h3><span style=\"color: #000000;\">What Is Symbol Data Type In JavaScript?<\/span><\/h3><p>\u00a0<\/p><p>The Symbol is the newest ever element that is added to the JavaScript programs. In 2015, it was first introduced. The Symbol Data Type can be worked with the help of the Object Data Type. The declaration can be done with the Symbol() function data type.<\/p><p>\u00a0<\/p><p><strong>Code To Define Symbol Element In JavaScript:<\/strong><\/p><p>\u00a0<\/p><pre class=\"codeblock\"><code>const b1 = Symbol('ZapOne'); \/\/ First Symbol\nconst b2 = Symbol('CodingZap'); \/\/ Second Symbol\n\nconsole.log(\"First Initiated Symbol: \", b1); \/\/ Printing First Symbol\nconsole.log(\"Second Initiated Symbol: \" ,b2); \/\/ Printing Second Symbol<\/code><\/pre><p><span style=\"color: #000000;\"><strong>Output:<\/strong><\/span><\/p><p><img decoding=\"async\" src=\"https:\/\/images.surferseo.art\/e7746bae-9019-4422-9e20-286aa038f052.png\" \/><\/p><p>From the output, we can see that the two symbols are declared successfully. The Symbol &#8220;CodingZap&#8221; &amp; Symbol &#8220;ZapOne&#8221; will be used as the tags to make some other components inside the program.<\/p><p>\u00a0<\/p><h3><span style=\"color: #000000;\">What Is Object Data Type In JavaScript?<\/span><\/h3><p>\u00a0<\/p><p>JavaScript object element has some similarities with the Structure Data Structures concept. The Object element developed with the help of other primary elements that we discussed earlier. The Object is defined with the Key value pairs.<\/p><pre class=\"codeblock\"><code>const code = {\n    Name: 'JavaScript',\n    Popularity: 5\n};<\/code><\/pre><p>One of the examples is declared above. We have introduced some key-value pairs in order to understand the concept. The Object is itself a complete section. That needs to be discussed in a separate format. Because the object is the gateway of advanced topics in JavaScript.<\/p><p>\u00a0<\/p><h4><span style=\"color: #000000;\">Bonus Note: What Is Typeof() Operator In JavaScript?<\/span><\/h4><p>\u00a0<\/p><p>Typeof operator is an essential element present in the JavaScript program that helps to find out the type of data element used in any program. We have to use the variable name inside that typeof operator.<\/p><p>If you are not able to understand what element is used, you can use the typeof() operator function. Though, the chances of that are very rare because all the parts have been discussed well form.<\/p><pre class=\"codeblock\"><code>General Syntax: typeof(variable-name);<\/code><\/pre><p><strong>Code To Demonstrate The Typeof() Operator:<\/strong><\/p><pre class=\"codeblock\"><code>const t = 'ZapOne'; \/\/ First Variable\nconsole.log(\"The Type Is: \", typeof(t)); \/\/ Returns \"string\" Type\n\nconst u = 2023; \/\/ Second Variable\nconsole.log(\"The Type Is: \", typeof(u)); \/\/ Returns \"number\" Type<\/code><\/pre><p><span style=\"color: #000000;\"><strong>Output:<\/strong><\/span><\/p><p><img decoding=\"async\" src=\"https:\/\/images.surferseo.art\/99b57cea-4d47-4ad5-9bf1-73fde139d408.png\" \/><\/p><p>In the above output, we can see, in the first case, it is giving type as String because not a number is used there. In the second case, one integer value is used. So, the Number type is arriving.<\/p><p>\u00a0<\/p><h2><span style=\"color: #000000;\">Conclusion:<\/span><\/h2><p>\u00a0<\/p><p>These are some important datatype that belongs to the JavaScript program.<\/p><p>The concept of these variables &amp; datatypes should be clear to you because it is going to be a gateway for your journey toward the Web Development process. All the Data Structures should be cleared. Still. if you wish to learn how <a href=\"https:\/\/codingzap.com\/javascript-jquery-for-front-end-web-development\/\">JavaSciprt in Web Development<\/a> works, you can check out our article.<\/p><p>In this article, we have used a few more programs that help to clear the concept of that data. We recommend you practice the concept as much as possible. Because practice is the only key to grabbing knowledge easily.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-5187cf8 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"5187cf8\" data-element_type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-63811b2\" data-id=\"63811b2\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-10c56da elementor-author-box--avatar-yes elementor-author-box--name-yes elementor-author-box--biography-yes elementor-author-box--link-no elementor-widget elementor-widget-author-box\" data-id=\"10c56da\" data-element_type=\"widget\" data-widget_type=\"author-box.default\">\n\t\t\t\t\t\t\t<div class=\"elementor-author-box\">\n\t\t\t\t\t\t\t<div  class=\"elementor-author-box__avatar\">\n\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/secure.gravatar.com\/avatar\/110b6835b704c078b6e500d5ad2b8587a133dad32df4eaf6c636de6ad350e0f4?s=300&#038;d=mm&#038;r=g\" alt=\"Picture of Sounetra Ghosal\" loading=\"lazy\">\n\t\t\t\t<\/div>\n\t\t\t\n\t\t\t<div class=\"elementor-author-box__text\">\n\t\t\t\t\t\t\t\t\t<div >\n\t\t\t\t\t\t<h4 class=\"elementor-author-box__name\">\n\t\t\t\t\t\t\tSounetra Ghosal\t\t\t\t\t\t<\/h4>\n\t\t\t\t\t<\/div>\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-author-box__bio\">\n\t\t\t\t\t\tHello folks, I am Sounetra Ghosal, a B.Tech graduate in Computer Science and engineering from GIS College of Engineering, contributing several articles for the well-being of geeks throughout the globe. I love to write content basically in C programming language. Also, besides Java, Python, and C++ are some of my favorite languages. Contributed 350+ articles in different organizations. I have also secured the 23rd position at the Technical Scripter 2022 Event at GeeksforGeeks. One of my articles gets this award for getting the most views. I have received 79 certificates in various fields of technologies and content writing.\r\nEvery day I improve my skills to contribute more articles and expand my knowledge in any way possible.\t\t\t\t\t<\/div>\n\t\t\t\t\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-b592cfb elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"b592cfb\" data-element_type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-1ee031f\" data-id=\"1ee031f\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-f456e65 elementor-shape-rounded elementor-grid-0 e-grid-align-center elementor-widget elementor-widget-social-icons\" data-id=\"f456e65\" data-element_type=\"widget\" data-widget_type=\"social-icons.default\">\n\t\t\t\t\t\t\t<div class=\"elementor-social-icons-wrapper elementor-grid\">\n\t\t\t\t\t\t\t<span class=\"elementor-grid-item\">\n\t\t\t\t\t<a class=\"elementor-icon elementor-social-icon elementor-social-icon-linkedin elementor-repeater-item-b4bebfb\" href=\"https:\/\/www.linkedin.com\/in\/sounetra-ghosal-a8a4041b2\/\" target=\"_blank\">\n\t\t\t\t\t\t<span class=\"elementor-screen-only\">Linkedin<\/span>\n\t\t\t\t\t\t<svg aria-hidden=\"true\" class=\"e-font-icon-svg e-fab-linkedin\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z\"><\/path><\/svg>\t\t\t\t\t<\/a>\n\t\t\t\t<\/span>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>JavaScript plays a crucial role in web development, just like other programming languages do.\u00a0 In JavaScript programs, you&#8217;ll encounter various data types, and this article aims to be a comprehensive guide for beginners who want to understand these &#8220;JavaScript data types&#8220; So, let us start our discussion. What Are Different Categories Of JavaScript Data Types? [&hellip;]<\/p>\n","protected":false},"author":16,"featured_media":14611,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[1683],"tags":[],"class_list":["post-14609","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-javascript"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.6 (Yoast SEO v27.7) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>JavaScript Data Types<\/title>\n<meta name=\"description\" content=\"Each programming language has different data structures. This article aims to compile a list of JavaScript Data Types.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/codingzap.com\/javascript-data-types\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"JavaScript Data Types\" \/>\n<meta property=\"og:description\" content=\"Each programming language has different data structures. This article aims to compile a list of JavaScript Data Types.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/codingzap.com\/javascript-data-types\/\" \/>\n<meta property=\"og:site_name\" content=\"Codingzap\" \/>\n<meta property=\"article:published_time\" content=\"2023-08-23T07:39:08+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-04-01T06:31:15+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/codingzap.com\/wp-content\/uploads\/2023\/08\/What-Are-Errors-in-C-Programming-3.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"Sounetra Ghosal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sounetra Ghosal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"11 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/codingzap.com\\\/javascript-data-types\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/codingzap.com\\\/javascript-data-types\\\/\"},\"author\":{\"name\":\"Sounetra Ghosal\",\"@id\":\"https:\\\/\\\/codingzap.com\\\/#\\\/schema\\\/person\\\/bf2c2ca27c407607c6e940c8763af4ee\"},\"headline\":\"JavaScript Data Types\",\"datePublished\":\"2023-08-23T07:39:08+00:00\",\"dateModified\":\"2025-04-01T06:31:15+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/codingzap.com\\\/javascript-data-types\\\/\"},\"wordCount\":1811,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/codingzap.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/codingzap.com\\\/javascript-data-types\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/codingzap.com\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/What-Are-Errors-in-C-Programming-3.webp\",\"articleSection\":[\"JavaScript\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/codingzap.com\\\/javascript-data-types\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/codingzap.com\\\/javascript-data-types\\\/\",\"url\":\"https:\\\/\\\/codingzap.com\\\/javascript-data-types\\\/\",\"name\":\"JavaScript Data Types\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/codingzap.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/codingzap.com\\\/javascript-data-types\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/codingzap.com\\\/javascript-data-types\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/codingzap.com\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/What-Are-Errors-in-C-Programming-3.webp\",\"datePublished\":\"2023-08-23T07:39:08+00:00\",\"dateModified\":\"2025-04-01T06:31:15+00:00\",\"description\":\"Each programming language has different data structures. This article aims to compile a list of JavaScript Data Types.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/codingzap.com\\\/javascript-data-types\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/codingzap.com\\\/javascript-data-types\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/codingzap.com\\\/javascript-data-types\\\/#primaryimage\",\"url\":\"https:\\\/\\\/codingzap.com\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/What-Are-Errors-in-C-Programming-3.webp\",\"contentUrl\":\"https:\\\/\\\/codingzap.com\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/What-Are-Errors-in-C-Programming-3.webp\",\"width\":1200,\"height\":628,\"caption\":\"JavaScript Data Types\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/codingzap.com\\\/javascript-data-types\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/codingzap.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"JavaScript Data Types\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/codingzap.com\\\/#website\",\"url\":\"https:\\\/\\\/codingzap.com\\\/\",\"name\":\"Codingzap\",\"description\":\"Programming Tutoring &amp; Coding Guidance for Students\",\"publisher\":{\"@id\":\"https:\\\/\\\/codingzap.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/codingzap.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/codingzap.com\\\/#organization\",\"name\":\"CodingZap\",\"url\":\"https:\\\/\\\/codingzap.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/codingzap.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/codingzap.com\\\/wp-content\\\/uploads\\\/2017\\\/09\\\/cropped-130_logo_m02-1-compressor-1-1.png\",\"contentUrl\":\"https:\\\/\\\/codingzap.com\\\/wp-content\\\/uploads\\\/2017\\\/09\\\/cropped-130_logo_m02-1-compressor-1-1.png\",\"width\":512,\"height\":512,\"caption\":\"CodingZap\"},\"image\":{\"@id\":\"https:\\\/\\\/codingzap.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/codingzap.com\\\/#\\\/schema\\\/person\\\/bf2c2ca27c407607c6e940c8763af4ee\",\"name\":\"Sounetra Ghosal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/110b6835b704c078b6e500d5ad2b8587a133dad32df4eaf6c636de6ad350e0f4?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/110b6835b704c078b6e500d5ad2b8587a133dad32df4eaf6c636de6ad350e0f4?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/110b6835b704c078b6e500d5ad2b8587a133dad32df4eaf6c636de6ad350e0f4?s=96&d=mm&r=g\",\"caption\":\"Sounetra Ghosal\"},\"description\":\"Hello folks, I am Sounetra Ghosal, a B.Tech graduate in Computer Science and engineering from GIS College of Engineering, contributing several articles for the well-being of geeks throughout the globe. I love to write content basically in C programming language. Also, besides Java, Python, and C++ are some of my favorite languages. Contributed 350+ articles in different organizations. I have also secured the 23rd position at the Technical Scripter 2022 Event at GeeksforGeeks. One of my articles gets this award for getting the most views. I have received 79 certificates in various fields of technologies and content writing. Every day I improve my skills to contribute more articles and expand my knowledge in any way possible.\",\"sameAs\":[\"https:\\\/\\\/www.linkedin.com\\\/in\\\/sounetra-ghosal-a8a4041b2\\\/\"],\"honorificPrefix\":\"Mr\",\"gender\":\"male\",\"knowsAbout\":[\"C\",\"C++\",\"Java\",\"Python\",\"HTML\",\"CSS\",\"JavaScript\"],\"knowsLanguage\":[\"English\"],\"jobTitle\":\"Technical Content Writer\",\"worksFor\":\"CodingZap\",\"url\":\"https:\\\/\\\/codingzap.com\\\/author\\\/sounetra\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"JavaScript Data Types","description":"Each programming language has different data structures. This article aims to compile a list of JavaScript Data Types.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/codingzap.com\/javascript-data-types\/","og_locale":"en_US","og_type":"article","og_title":"JavaScript Data Types","og_description":"Each programming language has different data structures. This article aims to compile a list of JavaScript Data Types.","og_url":"https:\/\/codingzap.com\/javascript-data-types\/","og_site_name":"Codingzap","article_published_time":"2023-08-23T07:39:08+00:00","article_modified_time":"2025-04-01T06:31:15+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/codingzap.com\/wp-content\/uploads\/2023\/08\/What-Are-Errors-in-C-Programming-3.webp","type":"image\/webp"}],"author":"Sounetra Ghosal","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Sounetra Ghosal","Est. reading time":"11 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/codingzap.com\/javascript-data-types\/#article","isPartOf":{"@id":"https:\/\/codingzap.com\/javascript-data-types\/"},"author":{"name":"Sounetra Ghosal","@id":"https:\/\/codingzap.com\/#\/schema\/person\/bf2c2ca27c407607c6e940c8763af4ee"},"headline":"JavaScript Data Types","datePublished":"2023-08-23T07:39:08+00:00","dateModified":"2025-04-01T06:31:15+00:00","mainEntityOfPage":{"@id":"https:\/\/codingzap.com\/javascript-data-types\/"},"wordCount":1811,"commentCount":0,"publisher":{"@id":"https:\/\/codingzap.com\/#organization"},"image":{"@id":"https:\/\/codingzap.com\/javascript-data-types\/#primaryimage"},"thumbnailUrl":"https:\/\/codingzap.com\/wp-content\/uploads\/2023\/08\/What-Are-Errors-in-C-Programming-3.webp","articleSection":["JavaScript"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/codingzap.com\/javascript-data-types\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/codingzap.com\/javascript-data-types\/","url":"https:\/\/codingzap.com\/javascript-data-types\/","name":"JavaScript Data Types","isPartOf":{"@id":"https:\/\/codingzap.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/codingzap.com\/javascript-data-types\/#primaryimage"},"image":{"@id":"https:\/\/codingzap.com\/javascript-data-types\/#primaryimage"},"thumbnailUrl":"https:\/\/codingzap.com\/wp-content\/uploads\/2023\/08\/What-Are-Errors-in-C-Programming-3.webp","datePublished":"2023-08-23T07:39:08+00:00","dateModified":"2025-04-01T06:31:15+00:00","description":"Each programming language has different data structures. This article aims to compile a list of JavaScript Data Types.","breadcrumb":{"@id":"https:\/\/codingzap.com\/javascript-data-types\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/codingzap.com\/javascript-data-types\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codingzap.com\/javascript-data-types\/#primaryimage","url":"https:\/\/codingzap.com\/wp-content\/uploads\/2023\/08\/What-Are-Errors-in-C-Programming-3.webp","contentUrl":"https:\/\/codingzap.com\/wp-content\/uploads\/2023\/08\/What-Are-Errors-in-C-Programming-3.webp","width":1200,"height":628,"caption":"JavaScript Data Types"},{"@type":"BreadcrumbList","@id":"https:\/\/codingzap.com\/javascript-data-types\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/codingzap.com\/"},{"@type":"ListItem","position":2,"name":"JavaScript Data Types"}]},{"@type":"WebSite","@id":"https:\/\/codingzap.com\/#website","url":"https:\/\/codingzap.com\/","name":"Codingzap","description":"Programming Tutoring &amp; Coding Guidance for Students","publisher":{"@id":"https:\/\/codingzap.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/codingzap.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/codingzap.com\/#organization","name":"CodingZap","url":"https:\/\/codingzap.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codingzap.com\/#\/schema\/logo\/image\/","url":"https:\/\/codingzap.com\/wp-content\/uploads\/2017\/09\/cropped-130_logo_m02-1-compressor-1-1.png","contentUrl":"https:\/\/codingzap.com\/wp-content\/uploads\/2017\/09\/cropped-130_logo_m02-1-compressor-1-1.png","width":512,"height":512,"caption":"CodingZap"},"image":{"@id":"https:\/\/codingzap.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/codingzap.com\/#\/schema\/person\/bf2c2ca27c407607c6e940c8763af4ee","name":"Sounetra Ghosal","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/110b6835b704c078b6e500d5ad2b8587a133dad32df4eaf6c636de6ad350e0f4?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/110b6835b704c078b6e500d5ad2b8587a133dad32df4eaf6c636de6ad350e0f4?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/110b6835b704c078b6e500d5ad2b8587a133dad32df4eaf6c636de6ad350e0f4?s=96&d=mm&r=g","caption":"Sounetra Ghosal"},"description":"Hello folks, I am Sounetra Ghosal, a B.Tech graduate in Computer Science and engineering from GIS College of Engineering, contributing several articles for the well-being of geeks throughout the globe. I love to write content basically in C programming language. Also, besides Java, Python, and C++ are some of my favorite languages. Contributed 350+ articles in different organizations. I have also secured the 23rd position at the Technical Scripter 2022 Event at GeeksforGeeks. One of my articles gets this award for getting the most views. I have received 79 certificates in various fields of technologies and content writing. Every day I improve my skills to contribute more articles and expand my knowledge in any way possible.","sameAs":["https:\/\/www.linkedin.com\/in\/sounetra-ghosal-a8a4041b2\/"],"honorificPrefix":"Mr","gender":"male","knowsAbout":["C","C++","Java","Python","HTML","CSS","JavaScript"],"knowsLanguage":["English"],"jobTitle":"Technical Content Writer","worksFor":"CodingZap","url":"https:\/\/codingzap.com\/author\/sounetra\/"}]}},"uagb_featured_image_src":{"full":["https:\/\/codingzap.com\/wp-content\/uploads\/2023\/08\/What-Are-Errors-in-C-Programming-3.webp",1200,628,false],"thumbnail":["https:\/\/codingzap.com\/wp-content\/uploads\/2023\/08\/What-Are-Errors-in-C-Programming-3-150x150.webp",150,150,true],"medium":["https:\/\/codingzap.com\/wp-content\/uploads\/2023\/08\/What-Are-Errors-in-C-Programming-3-300x157.webp",300,157,true],"medium_large":["https:\/\/codingzap.com\/wp-content\/uploads\/2023\/08\/What-Are-Errors-in-C-Programming-3-768x402.webp",768,402,true],"large":["https:\/\/codingzap.com\/wp-content\/uploads\/2023\/08\/What-Are-Errors-in-C-Programming-3-1024x536.webp",1024,536,true],"1536x1536":["https:\/\/codingzap.com\/wp-content\/uploads\/2023\/08\/What-Are-Errors-in-C-Programming-3.webp",1200,628,false],"2048x2048":["https:\/\/codingzap.com\/wp-content\/uploads\/2023\/08\/What-Are-Errors-in-C-Programming-3.webp",1200,628,false]},"uagb_author_info":{"display_name":"Sounetra Ghosal","author_link":"https:\/\/codingzap.com\/author\/sounetra\/"},"uagb_comment_info":0,"uagb_excerpt":"JavaScript plays a crucial role in web development, just like other programming languages do.\u00a0 In JavaScript programs, you&#8217;ll encounter various data types, and this article aims to be a comprehensive guide for beginners who want to understand these &#8220;JavaScript data types&#8220; So, let us start our discussion. What Are Different Categories Of JavaScript Data Types?&hellip;","_links":{"self":[{"href":"https:\/\/codingzap.com\/wp-json\/wp\/v2\/posts\/14609","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/codingzap.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/codingzap.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/codingzap.com\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/codingzap.com\/wp-json\/wp\/v2\/comments?post=14609"}],"version-history":[{"count":0,"href":"https:\/\/codingzap.com\/wp-json\/wp\/v2\/posts\/14609\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/codingzap.com\/wp-json\/wp\/v2\/media\/14611"}],"wp:attachment":[{"href":"https:\/\/codingzap.com\/wp-json\/wp\/v2\/media?parent=14609"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codingzap.com\/wp-json\/wp\/v2\/categories?post=14609"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codingzap.com\/wp-json\/wp\/v2\/tags?post=14609"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}