{"id":127521,"date":"2023-01-10T14:28:00","date_gmt":"2023-01-10T14:28:00","guid":{"rendered":"https:\/\/codeinstitute.net\/global\/?p=127521"},"modified":"2023-04-24T14:59:14","modified_gmt":"2023-04-24T14:59:14","slug":"javascript-operators","status":"publish","type":"post","link":"https:\/\/codeinstitute.net\/global\/blog\/javascript-operators\/","title":{"rendered":"JavaScript Operators&nbsp;"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">JavaScript operators are unique symbols used to carry out actions on operands (values and variables).<strong> <\/strong>For instance, 2 + 4; \/\/ 6, Here, the operator + performs addition, and the operands are 2 and 4.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This post discusses relational operators and boolean operators in JavaScript.&nbsp;&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Relational Operators in JavaScript&nbsp;<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Relational operators are operators that check whether a relationship between two values (like &#8220;less-than&#8221; or &#8220;property-of&#8221;) exists and deliver true or false depending on the result.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The following is a list of the JavaScript relational operators.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>greater-than &gt;<\/li>\n\n\n\n<li>less-than &lt;<\/li>\n\n\n\n<li>greater-than-or-equal-to &gt;=<\/li>\n\n\n\n<li>less-than-or-equal-to &lt;=<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">These comparison operators accept any kind of operand as an argument. Operands that are not integers or strings must be transformed because comparisons can only be made on those types of operands. Following are examples of comparison and conversion:&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>They are quantitatively compared if one or both operands are numbers or converted to numbers.&nbsp;<\/li>\n\n\n\n<li>Both operands are evaluated as strings if they are strings or can be converted to strings.<\/li>\n\n\n\n<li>The operator tries to convert the string to a number and conduct a numerical comparison if one operand is or transforms to a string and the other operand is or converts to a number. The comparison is false if the string does not represent a number because it converts to NaN in that case.&nbsp;<\/li>\n\n\n\n<li>JavaScript handles the numerical conversion when an object can be converted into a number or a string. This implies, for instance, that Date objects are numerically compared, and it makes sense to compare two dates to determine which is earlier.<\/li>\n\n\n\n<li>The comparison operators always yield false if neither of their operands can be effectively transformed to a number or a string.&nbsp;<\/li>\n\n\n\n<li>The comparison operator always returns false if one or both operands are NaN or converted to NaN.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Remember that string comparison strictly compares each character using its numerical value as determined by the Unicode encoding. The JavaScript comparison operators do not recognise these encoding variations. Instead, they presume that all strings are written in normalised form, even though the Unicode standard permits comparable strings to be encoded in some situations using various character sequences.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Keep in mind that string comparisons are case-sensitive and that all capital letters are &#8220;less than&#8221; all lowercase letters in the Unicode encoding (at least for the ASCII subset). If you don&#8217;t expect it, this rule can have unclear outcomes. For instance, the string &#8220;Zoo&#8221; is less than the string &#8220;aardvark,&#8221; according to the operator.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Boolean Operators in JavaScript&nbsp;<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">When talking about boolean operators, &#8220;and&#8221;, &#8220;or&#8221;, and &#8220;not&#8221; are the three available operators. They are particularly helpful to developers when creating parts of a complex logic or flow and may be utilised in either a database or coding.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Let&#8217;s get a better understanding of how each of these is implemented in JavaScript. We look at:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>JavasScript OR Operator<\/li>\n\n\n\n<li>JavaScript AND Operator<\/li>\n\n\n\n<li>JavaScript NOT Operator<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">JavaScript OR Operator&nbsp;&nbsp;<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In JavaScript, the OR operator is symbolically represented by two vertical lines. Let&#8217;s take the following illustration as an example:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Syntax:<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism off-numbers lang-js\" data-lang=\"JavaScript\" data-show-lang=\"0\"><code>result = a || b; \/\/ same as a OR b<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">The Boolean operator is only used to assess several Boolean variables in a typical computer language. The expression evaluates and returns true if any of the supplied variables are true; otherwise, it would produce a false value.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">JavaScript AND Operator&nbsp;<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The two ampersands &amp;&amp; serve as the symbolic representation of the AND operator in JavaScript.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Syntax:&nbsp;<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism off-numbers lang-js\" data-lang=\"JavaScript\" data-show-lang=\"0\"><code>var result = a && b; \/\/ equivalent to a AND b<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">The Boolean AND operator is used to test various Boolean operands, just like the OR operator. The expression tests and returns false if any of the supplied variables are false; otherwise, it would return a true value.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Basically, using the AND operator, the following four logical Boolean value combinations are listed:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>False || True i.e False\u201cOR\u201d True \/\/ the output will be False<\/li>\n\n\n\n<li>True || True i.e. True \u201cOR\u201d True \/\/ the output will be True<\/li>\n\n\n\n<li>False || False i.e False\u201cOR\u201d False \/\/ the output will be False<\/li>\n\n\n\n<li>True || False i.e True \u201cOR\u201d False \/\/ the output will be False<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">JavaScript NOT Operator<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The exclamation mark is used as the symbolic representation of the NOT operator in JavaScript.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Syntax:<\/strong><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism off-numbers lang-js\" data-lang=\"JavaScript\" data-show-lang=\"0\"><code>var result = ! y;<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">The Boolean AND operator, like the OR and AND operators, is exclusively used to test various Boolean operands. Since it returns the inverse of the operand that was supplied to it, it is used to invert the operand&#8217;s value.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">5 Day Coding Challenge \u2013 learn JavaScript basics<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Code Institute\u2019s <a href=\"https:\/\/codeinstitute.net\/global\/ie\/5-day-coding-challenge\/\">free 5 Day Coding Challenge<\/a> can offer you some insights into <a href=\"https:\/\/codeinstitute.net\/global\/blog\/what-is-html-and-why-should-i-learn-it\" target=\"_blank\" rel=\"noreferrer noopener\">HTML<\/a>, <a href=\"https:\/\/codeinstitute.net\/global\/blog\/what-is-css-and-why-should-i-learn-it\" target=\"_blank\" rel=\"noreferrer noopener\">CSS <\/a>&amp; <a href=\"https:\/\/codeinstitute.net\/global\/blog\/what-is-javascript-and-why-should-i-learn-it\" target=\"_blank\" rel=\"noreferrer noopener\">JS<\/a>. The best thing about the challenge, other than learning the basics, is that it\u2019ll let you know if you have an aptitude for software development. Register for this weekly challenge through the form below. Alternatively, if you want to learn more about our Full Stack Software Development programme, follow <a href=\"https:\/\/codeinstitute.net\/global\/full-stack-software-development-diploma\/\" target=\"_blank\" rel=\"noreferrer noopener\">this link<\/a>.\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>JavaScript operators are unique symbols used to carry out actions on operands (values and variables). For instance, 2 + 4; \/\/ 6, Here, the operator + performs addition, and the operands are 2 and 4. This post discusses relational operators and boolean operators in JavaScript.&nbsp;&nbsp; Relational Operators in JavaScript&nbsp; Relational operators are operators that check [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":127523,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[21],"tags":[153,109],"class_list":["post-127521","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-javascript","tag-javascript","tag-technology"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>JavaScript Operators&nbsp; - Code Institute Global<\/title>\n<meta name=\"description\" content=\"JavaScript operators are unique symbols used to carry out actions on operands (values and variables). In this article, we discuss.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/codeinstitute.net\/global\/blog\/javascript-operators\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"JavaScript Operators&nbsp; - Code Institute Global\" \/>\n<meta property=\"og:description\" content=\"JavaScript operators are unique symbols used to carry out actions on operands (values and variables). In this article, we discuss.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/codeinstitute.net\/global\/blog\/javascript-operators\/\" \/>\n<meta property=\"og:site_name\" content=\"Code Institute Global\" \/>\n<meta property=\"article:published_time\" content=\"2023-01-10T14:28:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-04-24T14:59:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/d3m1rm8xuevz4q.cloudfront.net\/wp-content\/uploads\/2022\/12\/JavaScript-Operators.png.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=\"Daragh \u00d3 Tuama\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/d3m1rm8xuevz4q.cloudfront.net\/wp-content\/uploads\/2022\/12\/JavaScript-Operators.png.webp\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Daragh \u00d3 Tuama\" \/>\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:\\\/\\\/codeinstitute.net\\\/global\\\/blog\\\/javascript-operators\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/codeinstitute.net\\\/global\\\/blog\\\/javascript-operators\\\/\"},\"author\":{\"name\":\"Daragh \u00d3 Tuama\",\"@id\":\"https:\\\/\\\/codeinstitute.net\\\/global\\\/#\\\/schema\\\/person\\\/061a77891417d29f74a8ac38dbf4f7ac\"},\"headline\":\"JavaScript Operators&nbsp;\",\"datePublished\":\"2023-01-10T14:28:00+00:00\",\"dateModified\":\"2023-04-24T14:59:14+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/codeinstitute.net\\\/global\\\/blog\\\/javascript-operators\\\/\"},\"wordCount\":801,\"publisher\":{\"@id\":\"https:\\\/\\\/codeinstitute.net\\\/global\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/codeinstitute.net\\\/global\\\/blog\\\/javascript-operators\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/d3m1rm8xuevz4q.cloudfront.net\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/JavaScript-Operators-1.png.webp\",\"keywords\":[\"JavaScript\",\"Technology\"],\"articleSection\":[\"JavaScript\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/codeinstitute.net\\\/global\\\/blog\\\/javascript-operators\\\/\",\"url\":\"https:\\\/\\\/codeinstitute.net\\\/global\\\/blog\\\/javascript-operators\\\/\",\"name\":\"JavaScript Operators&nbsp; - Code Institute Global\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/codeinstitute.net\\\/global\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/codeinstitute.net\\\/global\\\/blog\\\/javascript-operators\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/codeinstitute.net\\\/global\\\/blog\\\/javascript-operators\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/d3m1rm8xuevz4q.cloudfront.net\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/JavaScript-Operators-1.png.webp\",\"datePublished\":\"2023-01-10T14:28:00+00:00\",\"dateModified\":\"2023-04-24T14:59:14+00:00\",\"description\":\"JavaScript operators are unique symbols used to carry out actions on operands (values and variables). In this article, we discuss.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/codeinstitute.net\\\/global\\\/blog\\\/javascript-operators\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/codeinstitute.net\\\/global\\\/blog\\\/javascript-operators\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/codeinstitute.net\\\/global\\\/blog\\\/javascript-operators\\\/#primaryimage\",\"url\":\"https:\\\/\\\/d3m1rm8xuevz4q.cloudfront.net\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/JavaScript-Operators-1.png.webp\",\"contentUrl\":\"https:\\\/\\\/d3m1rm8xuevz4q.cloudfront.net\\\/wp-content\\\/uploads\\\/2022\\\/12\\\/JavaScript-Operators-1.png.webp\",\"width\":1500,\"height\":500},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/codeinstitute.net\\\/global\\\/blog\\\/javascript-operators\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/codeinstitute.net\\\/global\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"JavaScript Operators&nbsp;\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/codeinstitute.net\\\/global\\\/#website\",\"url\":\"https:\\\/\\\/codeinstitute.net\\\/global\\\/\",\"name\":\"Code Institute Global\",\"description\":\"A New Career in Tech\",\"publisher\":{\"@id\":\"https:\\\/\\\/codeinstitute.net\\\/global\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/codeinstitute.net\\\/global\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/codeinstitute.net\\\/global\\\/#organization\",\"name\":\"Code Institute Global\",\"url\":\"https:\\\/\\\/codeinstitute.net\\\/global\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/codeinstitute.net\\\/global\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/d3m1rm8xuevz4q.cloudfront.net\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/Web_grey_logo-1.png.webp\",\"contentUrl\":\"https:\\\/\\\/d3m1rm8xuevz4q.cloudfront.net\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/Web_grey_logo-1.png.webp\",\"width\":251,\"height\":105,\"caption\":\"Code Institute Global\"},\"image\":{\"@id\":\"https:\\\/\\\/codeinstitute.net\\\/global\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/codeinstitute.net\\\/global\\\/#\\\/schema\\\/person\\\/061a77891417d29f74a8ac38dbf4f7ac\",\"name\":\"Daragh \u00d3 Tuama\",\"description\":\"Daragh is Code Institute\u2019s Content Manager. With a long history in journalism, he has a huge interest in all things tech. Daragh also has a background in radio and TV, and has presented and contributed to shows on RT\u00c9, Newstalk, Today FM, TG4, and many more. He has a degree in modern Irish and history, and more recently, he has attained a certificate in sustainability studies. Daragh is also a videographer and is responsible for much of the content delivered to Code Institute. Daragh joined Code Institute in 2018.\",\"sameAs\":[\"https:\\\/\\\/www.linkedin.com\\\/in\\\/otuamadaragh\"],\"url\":\"https:\\\/\\\/codeinstitute.net\\\/global\\\/blog\\\/author\\\/daragh\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"JavaScript Operators&nbsp; - Code Institute Global","description":"JavaScript operators are unique symbols used to carry out actions on operands (values and variables). In this article, we discuss.","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:\/\/codeinstitute.net\/global\/blog\/javascript-operators\/","og_locale":"en_US","og_type":"article","og_title":"JavaScript Operators&nbsp; - Code Institute Global","og_description":"JavaScript operators are unique symbols used to carry out actions on operands (values and variables). In this article, we discuss.","og_url":"https:\/\/codeinstitute.net\/global\/blog\/javascript-operators\/","og_site_name":"Code Institute Global","article_published_time":"2023-01-10T14:28:00+00:00","article_modified_time":"2023-04-24T14:59:14+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/d3m1rm8xuevz4q.cloudfront.net\/wp-content\/uploads\/2022\/12\/JavaScript-Operators.png.webp","type":"image\/webp"}],"author":"Daragh \u00d3 Tuama","twitter_card":"summary_large_image","twitter_image":"https:\/\/d3m1rm8xuevz4q.cloudfront.net\/wp-content\/uploads\/2022\/12\/JavaScript-Operators.png.webp","twitter_misc":{"Written by":"Daragh \u00d3 Tuama","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/codeinstitute.net\/global\/blog\/javascript-operators\/#article","isPartOf":{"@id":"https:\/\/codeinstitute.net\/global\/blog\/javascript-operators\/"},"author":{"name":"Daragh \u00d3 Tuama","@id":"https:\/\/codeinstitute.net\/global\/#\/schema\/person\/061a77891417d29f74a8ac38dbf4f7ac"},"headline":"JavaScript Operators&nbsp;","datePublished":"2023-01-10T14:28:00+00:00","dateModified":"2023-04-24T14:59:14+00:00","mainEntityOfPage":{"@id":"https:\/\/codeinstitute.net\/global\/blog\/javascript-operators\/"},"wordCount":801,"publisher":{"@id":"https:\/\/codeinstitute.net\/global\/#organization"},"image":{"@id":"https:\/\/codeinstitute.net\/global\/blog\/javascript-operators\/#primaryimage"},"thumbnailUrl":"https:\/\/d3m1rm8xuevz4q.cloudfront.net\/wp-content\/uploads\/2022\/12\/JavaScript-Operators-1.png.webp","keywords":["JavaScript","Technology"],"articleSection":["JavaScript"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/codeinstitute.net\/global\/blog\/javascript-operators\/","url":"https:\/\/codeinstitute.net\/global\/blog\/javascript-operators\/","name":"JavaScript Operators&nbsp; - Code Institute Global","isPartOf":{"@id":"https:\/\/codeinstitute.net\/global\/#website"},"primaryImageOfPage":{"@id":"https:\/\/codeinstitute.net\/global\/blog\/javascript-operators\/#primaryimage"},"image":{"@id":"https:\/\/codeinstitute.net\/global\/blog\/javascript-operators\/#primaryimage"},"thumbnailUrl":"https:\/\/d3m1rm8xuevz4q.cloudfront.net\/wp-content\/uploads\/2022\/12\/JavaScript-Operators-1.png.webp","datePublished":"2023-01-10T14:28:00+00:00","dateModified":"2023-04-24T14:59:14+00:00","description":"JavaScript operators are unique symbols used to carry out actions on operands (values and variables). In this article, we discuss.","breadcrumb":{"@id":"https:\/\/codeinstitute.net\/global\/blog\/javascript-operators\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/codeinstitute.net\/global\/blog\/javascript-operators\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codeinstitute.net\/global\/blog\/javascript-operators\/#primaryimage","url":"https:\/\/d3m1rm8xuevz4q.cloudfront.net\/wp-content\/uploads\/2022\/12\/JavaScript-Operators-1.png.webp","contentUrl":"https:\/\/d3m1rm8xuevz4q.cloudfront.net\/wp-content\/uploads\/2022\/12\/JavaScript-Operators-1.png.webp","width":1500,"height":500},{"@type":"BreadcrumbList","@id":"https:\/\/codeinstitute.net\/global\/blog\/javascript-operators\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/codeinstitute.net\/global\/"},{"@type":"ListItem","position":2,"name":"JavaScript Operators&nbsp;"}]},{"@type":"WebSite","@id":"https:\/\/codeinstitute.net\/global\/#website","url":"https:\/\/codeinstitute.net\/global\/","name":"Code Institute Global","description":"A New Career in Tech","publisher":{"@id":"https:\/\/codeinstitute.net\/global\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/codeinstitute.net\/global\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/codeinstitute.net\/global\/#organization","name":"Code Institute Global","url":"https:\/\/codeinstitute.net\/global\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codeinstitute.net\/global\/#\/schema\/logo\/image\/","url":"https:\/\/d3m1rm8xuevz4q.cloudfront.net\/wp-content\/uploads\/2022\/02\/Web_grey_logo-1.png.webp","contentUrl":"https:\/\/d3m1rm8xuevz4q.cloudfront.net\/wp-content\/uploads\/2022\/02\/Web_grey_logo-1.png.webp","width":251,"height":105,"caption":"Code Institute Global"},"image":{"@id":"https:\/\/codeinstitute.net\/global\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/codeinstitute.net\/global\/#\/schema\/person\/061a77891417d29f74a8ac38dbf4f7ac","name":"Daragh \u00d3 Tuama","description":"Daragh is Code Institute\u2019s Content Manager. With a long history in journalism, he has a huge interest in all things tech. Daragh also has a background in radio and TV, and has presented and contributed to shows on RT\u00c9, Newstalk, Today FM, TG4, and many more. He has a degree in modern Irish and history, and more recently, he has attained a certificate in sustainability studies. Daragh is also a videographer and is responsible for much of the content delivered to Code Institute. Daragh joined Code Institute in 2018.","sameAs":["https:\/\/www.linkedin.com\/in\/otuamadaragh"],"url":"https:\/\/codeinstitute.net\/global\/blog\/author\/daragh\/"}]}},"_links":{"self":[{"href":"https:\/\/codeinstitute.net\/global\/wp-json\/wp\/v2\/posts\/127521","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/codeinstitute.net\/global\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/codeinstitute.net\/global\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/codeinstitute.net\/global\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/codeinstitute.net\/global\/wp-json\/wp\/v2\/comments?post=127521"}],"version-history":[{"count":1,"href":"https:\/\/codeinstitute.net\/global\/wp-json\/wp\/v2\/posts\/127521\/revisions"}],"predecessor-version":[{"id":138549,"href":"https:\/\/codeinstitute.net\/global\/wp-json\/wp\/v2\/posts\/127521\/revisions\/138549"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/codeinstitute.net\/global\/wp-json\/wp\/v2\/media\/127523"}],"wp:attachment":[{"href":"https:\/\/codeinstitute.net\/global\/wp-json\/wp\/v2\/media?parent=127521"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codeinstitute.net\/global\/wp-json\/wp\/v2\/categories?post=127521"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codeinstitute.net\/global\/wp-json\/wp\/v2\/tags?post=127521"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}