{"id":701,"date":"2021-04-21T05:54:47","date_gmt":"2021-04-21T05:54:47","guid":{"rendered":"https:\/\/bcisnotes.com\/fourthsemester\/?p=701"},"modified":"2021-04-21T05:54:47","modified_gmt":"2021-04-21T05:54:47","slug":"javascript-data-types-client-side-scripting-bcis-notesz","status":"publish","type":"post","link":"https:\/\/bcisnotes.com\/fourthsemester\/javascript-data-types-client-side-scripting-bcis-notesz\/","title":{"rendered":"JavaScript Data Types || Client Side Scripting || BCIS Notesz"},"content":{"rendered":"<h1 style=\"text-align: center;\">JavaScript Data Types<\/h1>\n<div class=\"page\" title=\"Page 9\">\n<div class=\"layoutArea\">\n<div class=\"column\">\n<div class=\"page\" title=\"Page 9\">\n<div class=\"section\">\n<div class=\"layoutArea\">\n<div class=\"column\">\n<p>There are six basic data types in JavaScript which can be divided into three main categories: primitive (or primary), composite (or reference), and special data types. String, Number, and Boolean are primitive data types. Object, Array, and Function (which are all types of objects) are composite data types whereas Undefined and Null are special data types.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<h3>The String Data Type<\/h3>\n<p>The string data type is used to represent textual data (i.e. sequences of characters). Strings are created using single or double quotes surrounding one or more characters, as shown below:<\/p>\n<p>var a = &#8216;Hi there!&#8217;; \/\/ using single quotes<\/p>\n<p>var b = &#8220;Hi there!&#8221;; \/\/ using double quotes<\/p>\n<div class=\"page\" title=\"Page 9\">\n<div class=\"layoutArea\">\n<div class=\"column\">\n<p>You can include quotes inside the string as long as they don&#8217;t match the enclosing quotes.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p>var a = &#8220;Let&#8217;s have a cup of coffee.&#8221;; \/\/ single quote inside double quotes<\/p>\n<p>var b = &#8216;He said &#8220;Hello&#8221; and left.&#8217;; \/\/ double quotes inside single quotes<\/p>\n<p>var c = &#8216;We\\&#8217;ll never give up.&#8217;; \/\/ escaping single quote with backslash<\/p>\n<h3>The Number Data Type<\/h3>\n<p>The number data type is used to represent positive or negative numbers with or without decimal place, or numbers are written using exponential notation e.g. 1.5e-4 (equivalent to 1.5&#215;10-4).<\/p>\n<p>var a = 25; \/\/ integer<\/p>\n<\/div>\n<\/div>\n<div class=\"layoutArea\">\n<div class=\"column\">\n<p>var b = 80.5; \/\/ floating-point number<\/p>\n<p>var c = 4.25e+6; \/\/ exponential notation, same as 4.25e6 or 4250000<\/p>\n<p>var d = 4.25e-6; \u00a0\/\/ exponential notation, same as 0.00000425<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"page\" title=\"Page 10\">\n<div class=\"section\">\n<div class=\"layoutArea\">\n<div class=\"column\">\n<p>The Number data type also includes some special values which are: Infinity, -Infinity and NaN. Infinity represents the mathematical Infinity \u221e , which is greater than any number. Infinity is the result of dividing a nonzero number by 0, as demonstrated below:<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"layoutArea\">\n<div class=\"column\">\n<p>alert(16 \/ 0); \/\/ Output: Infinity<\/p>\n<p>alert(-16 \/ 0); \/\/ Output: -Infinity<\/p>\n<p>alert(16 \/ -0); \/\/ Output: -Infinity<\/p>\n<div class=\"layoutArea\">\n<div class=\"column\">\n<p>While represents a special Not-a-Number value. It is a result of an invalid or an undefined mathematical operation, like taking the square root of -1 or dividing 0 by 0,<\/p>\n<\/div>\n<\/div>\n<p>alert(&#8220;Some text&#8221; \/ 2); \/\/ Output: NaN<br \/>\nalert(&#8220;Some text&#8221; \/ 2 + 10); \/\/ Output: NaN<\/p>\n<p>alert(Math.sqrt(-1)); \/\/ Output: NaNc.<\/p>\n<h3>The Boolean Data Type<\/h3>\n<p>The Boolean data type can hold only two values: true or to store values like yes (true) or no (false), on (true) or off ( demonstrated below:<\/p>\n<p>var isReading = true; \/\/ yes, I&#8217;m reading<br \/>\nvar isSleeping = false; \/\/ no, I&#8217;m not sleeping<\/p>\n<div class=\"layoutArea\">\n<div class=\"column\">\n<p>Boolean values also come as a result of comparisons in a program. The following example compares two variables and shows the result in an alert dialog box:<\/p>\n<\/div>\n<\/div>\n<p>var a = 2, b = 5, c = 10;<\/p>\n<p>alert(b &gt; a) \/\/ Output: true<\/p>\n<p>alert(b &gt; c) \/\/ Output: false<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"page\" title=\"Page 11\">\n<div class=\"layoutArea\">\n<div class=\"column\">\n<h3>The Undefined Data Type<\/h3>\n<p>The undefined data type can only have one value-the special value undefined. If a variable has been declared but has not been assigned a value, has the value undefined.<\/p>\n<p>var a;<br \/>\nvar b = &#8220;Hello World!&#8221;<\/p>\n<p>alert(a) \/\/ Output: undefined<\/p>\n<p>alert(b) \/\/ Output: Hello World!<\/p>\n<h3>The Null Data Type<\/h3>\n<p>This is another special data type that can have only one value-the null value. A null value means that there is no value. It is not equivalent to an empty string (&#8220;&#8221;) or 0, it is simply nothing.<\/p>\n<p>A variable can be explicitly emptied of its current contents by assigning it the null value.<\/p>\n<p>var a = null;<br \/>\nalert(a); \/\/ Output: null<\/p>\n<p>var b = &#8220;Hello World!&#8221;<br \/>\nalert(b); \/\/ Output: Hello World!<\/p>\n<p>b = null;<br \/>\nalert(b) \/\/ Output: null<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"page\" title=\"Page 12\">\n<div class=\"layoutArea\">\n<div class=\"column\">\n<h3>The Object Data Type<\/h3>\n<p>The object is a complex data type that allows you to store collections of data.<\/p>\n<p>An object contains properties, defined as a key-value pair. A property key (name) is always a string, but the value can be any data type, like strings, numbers, booleans, or complex data types like arrays, function and other objects. The following example will show you the simplest way to create an object in JavaScript.<\/p>\n<p>var emptyObject = {};<br \/>\nvar person = {&#8220;name&#8221;: &#8220;Clark&#8221;, &#8220;surname&#8221;: &#8220;Kent&#8221;, &#8220;age&#8221;: &#8220;36&#8221;};<\/p>\n<p>\/\/ For better reading<\/p>\n<p>var car = {<\/p>\n<p>&#8220;modal&#8221;: &#8220;BMW X3&#8221;,<\/p>\n<p>&#8220;color&#8221;: &#8220;white&#8221;, &#8221;<\/p>\n<p>doors&#8221;: 5<\/p>\n<p>}<\/p>\n<h3>The Array Data Type<\/h3>\n<p>An array is a type of object used for storing multiple values in a single variable. Each value (also called an element) in an array has a numeric position, known as its index, and it may contain data of any data type-numbers, strings, booleans, functions, objects, and even other arrays. The array index starts from 0 so that the first array element is arr[0], not arr[1].<\/p>\n<p>The simplest way to create an array is by specifying the array elements as a comma-separated list enclosed by square brackets, as shown in the example below:<\/p>\n<p>var colors = [&#8220;Red&#8221;, &#8220;Yellow&#8221;, &#8220;Green&#8221;, &#8220;Orange&#8221;];<\/p>\n<p>var cities = [&#8220;London&#8221;, &#8220;Paris&#8221;, &#8220;New York&#8221;];<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"page\" title=\"Page 13\">\n<div class=\"layoutArea\">\n<div class=\"column\">\n<p>alert(colors[0]); \/\/ Output: Red<\/p>\n<p>alert(cities[2]); \/\/ Output: New York<\/p>\n<h3>The Function Data Type<\/h3>\n<p>A function is a callable object that executes a block of code. Since functions are objects, so it is possible to assign them to variables, as shown in the example below:<\/p>\n<p>var greeting = function(){<\/p>\n<p>return &#8220;Hello World!&#8221;;<\/p>\n<p>}<\/p>\n<p>\/\/ Check the type of greeting variable<\/p>\n<p>alert(typeof greeting) \/\/ Output: function<\/p>\n<p>alert(greeting()); \/\/ Output: Hello World!<\/p>\n<p class=\"p1\">If you liked our content JavaScript Data Types, then you will also like\u00a0<a href=\"https:\/\/bcisnotes.com\/fourthsemester\/javascript-syntax-client-side-scripting-bcis-notes\/\">JavaScript Syntax\u00a0<\/a><\/p>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>JavaScript Data Types There are six basic data types in JavaScript which can be divided into three main categories: primitive (or primary), composite (or reference), <a class=\"mh-excerpt-more\" href=\"https:\/\/bcisnotes.com\/fourthsemester\/javascript-data-types-client-side-scripting-bcis-notesz\/\" title=\"JavaScript Data Types || Client Side Scripting || BCIS Notesz\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":3,"featured_media":702,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[227,226,230],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>JavaScript Data Types || Client Side Scripting || BCIS Notesz<\/title>\n<meta name=\"description\" content=\"There are six basic data types in JavaScript which can be divided into three main categories: primitive, composite, and special data types. Object, Array, and Function (which are all types of objects) are composite data types whereas Undefined and Null are special 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:\/\/bcisnotes.com\/fourthsemester\/javascript-data-types-client-side-scripting-bcis-notesz\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"JavaScript Data Types || Client Side Scripting || BCIS Notesz\" \/>\n<meta property=\"og:description\" content=\"There are six basic data types in JavaScript which can be divided into three main categories: primitive, composite, and special data types. Object, Array, and Function (which are all types of objects) are composite data types whereas Undefined and Null are special data types.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/bcisnotes.com\/fourthsemester\/javascript-data-types-client-side-scripting-bcis-notesz\/\" \/>\n<meta property=\"og:site_name\" content=\"BCIS Fourth Semester\" \/>\n<meta property=\"article:published_time\" content=\"2021-04-21T05:54:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/bcisnotes.com\/fourthsemester\/wp-content\/uploads\/2021\/04\/bcis-12.png\" \/>\n\t<meta property=\"og:image:width\" content=\"340\" \/>\n\t<meta property=\"og:image:height\" content=\"230\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Her Highness\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Her Highness\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/bcisnotes.com\/fourthsemester\/javascript-data-types-client-side-scripting-bcis-notesz\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/bcisnotes.com\/fourthsemester\/javascript-data-types-client-side-scripting-bcis-notesz\/\"},\"author\":{\"name\":\"Her Highness\",\"@id\":\"https:\/\/bcisnotes.com\/fourthsemester\/#\/schema\/person\/fcc10e27b06f3f95367e914911b47eb3\"},\"headline\":\"JavaScript Data Types || Client Side Scripting || BCIS Notesz\",\"datePublished\":\"2021-04-21T05:54:47+00:00\",\"dateModified\":\"2021-04-21T05:54:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/bcisnotes.com\/fourthsemester\/javascript-data-types-client-side-scripting-bcis-notesz\/\"},\"wordCount\":819,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/bcisnotes.com\/fourthsemester\/#organization\"},\"image\":{\"@id\":\"https:\/\/bcisnotes.com\/fourthsemester\/javascript-data-types-client-side-scripting-bcis-notesz\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/bcisnotes.com\/fourthsemester\/wp-content\/uploads\/2021\/04\/bcis-12.png\",\"keywords\":[\"Client Side Scripting\",\"JavaScript\",\"JavaScript Data Types\"],\"articleSection\":[\"IT\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/bcisnotes.com\/fourthsemester\/javascript-data-types-client-side-scripting-bcis-notesz\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/bcisnotes.com\/fourthsemester\/javascript-data-types-client-side-scripting-bcis-notesz\/\",\"url\":\"https:\/\/bcisnotes.com\/fourthsemester\/javascript-data-types-client-side-scripting-bcis-notesz\/\",\"name\":\"JavaScript Data Types || Client Side Scripting || BCIS Notesz\",\"isPartOf\":{\"@id\":\"https:\/\/bcisnotes.com\/fourthsemester\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/bcisnotes.com\/fourthsemester\/javascript-data-types-client-side-scripting-bcis-notesz\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/bcisnotes.com\/fourthsemester\/javascript-data-types-client-side-scripting-bcis-notesz\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/bcisnotes.com\/fourthsemester\/wp-content\/uploads\/2021\/04\/bcis-12.png\",\"datePublished\":\"2021-04-21T05:54:47+00:00\",\"dateModified\":\"2021-04-21T05:54:47+00:00\",\"description\":\"There are six basic data types in JavaScript which can be divided into three main categories: primitive, composite, and special data types. Object, Array, and Function (which are all types of objects) are composite data types whereas Undefined and Null are special data types.\",\"breadcrumb\":{\"@id\":\"https:\/\/bcisnotes.com\/fourthsemester\/javascript-data-types-client-side-scripting-bcis-notesz\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/bcisnotes.com\/fourthsemester\/javascript-data-types-client-side-scripting-bcis-notesz\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/bcisnotes.com\/fourthsemester\/javascript-data-types-client-side-scripting-bcis-notesz\/#primaryimage\",\"url\":\"https:\/\/bcisnotes.com\/fourthsemester\/wp-content\/uploads\/2021\/04\/bcis-12.png\",\"contentUrl\":\"https:\/\/bcisnotes.com\/fourthsemester\/wp-content\/uploads\/2021\/04\/bcis-12.png\",\"width\":340,\"height\":230,\"caption\":\"JavaScript Data Types || Client Side Scripting || BCIS Notesz\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/bcisnotes.com\/fourthsemester\/javascript-data-types-client-side-scripting-bcis-notesz\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/bcisnotes.com\/fourthsemester\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"JavaScript Data Types || Client Side Scripting || BCIS Notesz\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/bcisnotes.com\/fourthsemester\/#website\",\"url\":\"https:\/\/bcisnotes.com\/fourthsemester\/\",\"name\":\"BCIS Fourth Semester\",\"description\":\"Notes of Information and Technology\",\"publisher\":{\"@id\":\"https:\/\/bcisnotes.com\/fourthsemester\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/bcisnotes.com\/fourthsemester\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/bcisnotes.com\/fourthsemester\/#organization\",\"name\":\"BCIS Fourth Semester\",\"url\":\"https:\/\/bcisnotes.com\/fourthsemester\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/bcisnotes.com\/fourthsemester\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/bcisnotes.com\/fourthsemester\/wp-content\/uploads\/2021\/02\/cropped-4-1.jpg\",\"contentUrl\":\"https:\/\/bcisnotes.com\/fourthsemester\/wp-content\/uploads\/2021\/02\/cropped-4-1.jpg\",\"width\":300,\"height\":100,\"caption\":\"BCIS Fourth Semester\"},\"image\":{\"@id\":\"https:\/\/bcisnotes.com\/fourthsemester\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/bcisnotes.com\/fourthsemester\/#\/schema\/person\/fcc10e27b06f3f95367e914911b47eb3\",\"name\":\"Her Highness\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/bcisnotes.com\/fourthsemester\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/9f5c6e84ebb073447dba2985b41b0fdc?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/9f5c6e84ebb073447dba2985b41b0fdc?s=96&d=mm&r=g\",\"caption\":\"Her Highness\"},\"sameAs\":[\"http:\/\/bcisnotes.com\/fourthsemester\"],\"url\":\"https:\/\/bcisnotes.com\/fourthsemester\/author\/jaya\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"JavaScript Data Types || Client Side Scripting || BCIS Notesz","description":"There are six basic data types in JavaScript which can be divided into three main categories: primitive, composite, and special data types. Object, Array, and Function (which are all types of objects) are composite data types whereas Undefined and Null are special 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:\/\/bcisnotes.com\/fourthsemester\/javascript-data-types-client-side-scripting-bcis-notesz\/","og_locale":"en_US","og_type":"article","og_title":"JavaScript Data Types || Client Side Scripting || BCIS Notesz","og_description":"There are six basic data types in JavaScript which can be divided into three main categories: primitive, composite, and special data types. Object, Array, and Function (which are all types of objects) are composite data types whereas Undefined and Null are special data types.","og_url":"https:\/\/bcisnotes.com\/fourthsemester\/javascript-data-types-client-side-scripting-bcis-notesz\/","og_site_name":"BCIS Fourth Semester","article_published_time":"2021-04-21T05:54:47+00:00","og_image":[{"width":340,"height":230,"url":"https:\/\/bcisnotes.com\/fourthsemester\/wp-content\/uploads\/2021\/04\/bcis-12.png","type":"image\/png"}],"author":"Her Highness","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Her Highness","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/bcisnotes.com\/fourthsemester\/javascript-data-types-client-side-scripting-bcis-notesz\/#article","isPartOf":{"@id":"https:\/\/bcisnotes.com\/fourthsemester\/javascript-data-types-client-side-scripting-bcis-notesz\/"},"author":{"name":"Her Highness","@id":"https:\/\/bcisnotes.com\/fourthsemester\/#\/schema\/person\/fcc10e27b06f3f95367e914911b47eb3"},"headline":"JavaScript Data Types || Client Side Scripting || BCIS Notesz","datePublished":"2021-04-21T05:54:47+00:00","dateModified":"2021-04-21T05:54:47+00:00","mainEntityOfPage":{"@id":"https:\/\/bcisnotes.com\/fourthsemester\/javascript-data-types-client-side-scripting-bcis-notesz\/"},"wordCount":819,"commentCount":0,"publisher":{"@id":"https:\/\/bcisnotes.com\/fourthsemester\/#organization"},"image":{"@id":"https:\/\/bcisnotes.com\/fourthsemester\/javascript-data-types-client-side-scripting-bcis-notesz\/#primaryimage"},"thumbnailUrl":"https:\/\/bcisnotes.com\/fourthsemester\/wp-content\/uploads\/2021\/04\/bcis-12.png","keywords":["Client Side Scripting","JavaScript","JavaScript Data Types"],"articleSection":["IT"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/bcisnotes.com\/fourthsemester\/javascript-data-types-client-side-scripting-bcis-notesz\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/bcisnotes.com\/fourthsemester\/javascript-data-types-client-side-scripting-bcis-notesz\/","url":"https:\/\/bcisnotes.com\/fourthsemester\/javascript-data-types-client-side-scripting-bcis-notesz\/","name":"JavaScript Data Types || Client Side Scripting || BCIS Notesz","isPartOf":{"@id":"https:\/\/bcisnotes.com\/fourthsemester\/#website"},"primaryImageOfPage":{"@id":"https:\/\/bcisnotes.com\/fourthsemester\/javascript-data-types-client-side-scripting-bcis-notesz\/#primaryimage"},"image":{"@id":"https:\/\/bcisnotes.com\/fourthsemester\/javascript-data-types-client-side-scripting-bcis-notesz\/#primaryimage"},"thumbnailUrl":"https:\/\/bcisnotes.com\/fourthsemester\/wp-content\/uploads\/2021\/04\/bcis-12.png","datePublished":"2021-04-21T05:54:47+00:00","dateModified":"2021-04-21T05:54:47+00:00","description":"There are six basic data types in JavaScript which can be divided into three main categories: primitive, composite, and special data types. Object, Array, and Function (which are all types of objects) are composite data types whereas Undefined and Null are special data types.","breadcrumb":{"@id":"https:\/\/bcisnotes.com\/fourthsemester\/javascript-data-types-client-side-scripting-bcis-notesz\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/bcisnotes.com\/fourthsemester\/javascript-data-types-client-side-scripting-bcis-notesz\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/bcisnotes.com\/fourthsemester\/javascript-data-types-client-side-scripting-bcis-notesz\/#primaryimage","url":"https:\/\/bcisnotes.com\/fourthsemester\/wp-content\/uploads\/2021\/04\/bcis-12.png","contentUrl":"https:\/\/bcisnotes.com\/fourthsemester\/wp-content\/uploads\/2021\/04\/bcis-12.png","width":340,"height":230,"caption":"JavaScript Data Types || Client Side Scripting || BCIS Notesz"},{"@type":"BreadcrumbList","@id":"https:\/\/bcisnotes.com\/fourthsemester\/javascript-data-types-client-side-scripting-bcis-notesz\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/bcisnotes.com\/fourthsemester\/"},{"@type":"ListItem","position":2,"name":"JavaScript Data Types || Client Side Scripting || BCIS Notesz"}]},{"@type":"WebSite","@id":"https:\/\/bcisnotes.com\/fourthsemester\/#website","url":"https:\/\/bcisnotes.com\/fourthsemester\/","name":"BCIS Fourth Semester","description":"Notes of Information and Technology","publisher":{"@id":"https:\/\/bcisnotes.com\/fourthsemester\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/bcisnotes.com\/fourthsemester\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/bcisnotes.com\/fourthsemester\/#organization","name":"BCIS Fourth Semester","url":"https:\/\/bcisnotes.com\/fourthsemester\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/bcisnotes.com\/fourthsemester\/#\/schema\/logo\/image\/","url":"https:\/\/bcisnotes.com\/fourthsemester\/wp-content\/uploads\/2021\/02\/cropped-4-1.jpg","contentUrl":"https:\/\/bcisnotes.com\/fourthsemester\/wp-content\/uploads\/2021\/02\/cropped-4-1.jpg","width":300,"height":100,"caption":"BCIS Fourth Semester"},"image":{"@id":"https:\/\/bcisnotes.com\/fourthsemester\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/bcisnotes.com\/fourthsemester\/#\/schema\/person\/fcc10e27b06f3f95367e914911b47eb3","name":"Her Highness","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/bcisnotes.com\/fourthsemester\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/9f5c6e84ebb073447dba2985b41b0fdc?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/9f5c6e84ebb073447dba2985b41b0fdc?s=96&d=mm&r=g","caption":"Her Highness"},"sameAs":["http:\/\/bcisnotes.com\/fourthsemester"],"url":"https:\/\/bcisnotes.com\/fourthsemester\/author\/jaya\/"}]}},"_links":{"self":[{"href":"https:\/\/bcisnotes.com\/fourthsemester\/wp-json\/wp\/v2\/posts\/701"}],"collection":[{"href":"https:\/\/bcisnotes.com\/fourthsemester\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bcisnotes.com\/fourthsemester\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bcisnotes.com\/fourthsemester\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/bcisnotes.com\/fourthsemester\/wp-json\/wp\/v2\/comments?post=701"}],"version-history":[{"count":1,"href":"https:\/\/bcisnotes.com\/fourthsemester\/wp-json\/wp\/v2\/posts\/701\/revisions"}],"predecessor-version":[{"id":703,"href":"https:\/\/bcisnotes.com\/fourthsemester\/wp-json\/wp\/v2\/posts\/701\/revisions\/703"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/bcisnotes.com\/fourthsemester\/wp-json\/wp\/v2\/media\/702"}],"wp:attachment":[{"href":"https:\/\/bcisnotes.com\/fourthsemester\/wp-json\/wp\/v2\/media?parent=701"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bcisnotes.com\/fourthsemester\/wp-json\/wp\/v2\/categories?post=701"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bcisnotes.com\/fourthsemester\/wp-json\/wp\/v2\/tags?post=701"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}