{"id":20249,"date":"2020-07-25T06:02:41","date_gmt":"2020-07-25T13:02:41","guid":{"rendered":"https:\/\/careerkarma.com\/blog\/?p=20249"},"modified":"2021-01-04T02:50:45","modified_gmt":"2021-01-04T10:50:45","slug":"js-comparison","status":"publish","type":"post","link":"https:\/\/careerkarma.com\/blog\/js-comparison\/","title":{"rendered":"JavaScript Operators: Comparison and Equality"},"content":{"rendered":"\n<p><em>We first encountered operators when we were children learning arithmetic in elementary school. Operators are the symbols in between two operands. In web development, we use operators to compare two values to determine if an expression is true or false. In this article, we\u2019ll take a look at comparison (a.k.a relational) and equality operators \u2013 they are the two most common types of operators you will encounter in JavaScript.<\/em><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Comparison Operators<\/h2>\n\n\n\n<p>There will be times in creating logic to solve problems that you will need to use comparison or relational operators to conditionally render something to the screen. Let\u2019s take a look at the most common ones you will see in your code. Here is the object we will use for the next few operators:<br><\/p>\n\n\n\n<ol class=\"wp-block-list\"><li><strong>in<\/strong> \u2013 use the <em>in<\/em> operator to see if there is a property in your object:<\/li><\/ol>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>const cityData =  {\n     city: &quot;San Jose&quot;,\n     state: &quot;California&quot;,\n     area: 181.36,\n     land: 178.24,\n     water: 3.12,\n     urban: 342.27,\n     metro: 2694.61,\n     elevation: 82,\n     population: 1021795,\n     timezone: &quot;Los_Angeles\/Pacific&quot;,\n     website: &quot;www.sanjoseca.gov&quot;\n}\nconsole.log(&quot;metro&quot; in cityData); \/\/true\nconsole.log(&quot;country&quot; in cityData); \/\/false<\/pre><\/div>\n\n\n\n<ol class=\"wp-block-list\"><li><strong>instanceof<\/strong> \u2013<strong> <\/strong>use the <em>instanceof<\/em> operator to ask if an object is an instance of a class or constructor function.<\/li><\/ol>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>  function Class(subject, teacher, numStudents) {\n     this.subject = subject;\n     this.teacher = teacher;\n     this.numStudents = numStudents;\n   }\n   const classroom = new Class('Academic Geometry', 'Jane Doe', 24);\n \n   console.log(classroom instanceof Class);\n   \/\/ expected output: true\n \n   console.log(classroom instanceof Object);\n   \/\/ expected output: true<\/pre><\/div>\n\n\n\n<ol class=\"wp-block-list\"><li><strong>Less than ( &lt; ), Less than or equal to ( &lt;= ) \u2013 <\/strong>A comparison operator that returns true in a conditional statement if operand A is less than operand B. We see it most commonly when we create a for loop:<\/li><\/ol>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre> \tfor(let i = 1; i &lt;= n; i++) {\n        \/\/ code here\n    \t}\n\tfor(let i = 0; i &lt; arr.length; i++) {\n        \/\/ code here\n   \t}<\/pre><\/div>\n\n\n\n<ol class=\"wp-block-list\"><li><strong>Greater than ( &gt; ), Greater than or equal to ( &gt;= ) \u2013 <\/strong>A comparison operator that returns true in a conditional statement if operand A is greater than operand B. It\u2019s used quite often when we are trying to find the maximum number in an array:<\/li><\/ol>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>let maximum = -Infinity;\n   \tfor(let i = 0; i &lt; arr.length; i++) {\n     \t  if(arr[i] &gt;= maximum) {\n          maximum = arr[i];\n        }\n      }<\/pre><\/div>\n\n\n\n<p><strong><em>Note:<\/em><\/strong> &gt;= is not the same as =&gt;. The latter is used for big arrow functions in ES6 JavaScript syntax.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Equality Operators<\/h2>\n\n\n\n<p>Similar to comparison operators, equality operators also evaluate to a Boolean value that declares whether or not an expression is true.&nbsp;<br><\/p>\n\n\n\n<p><strong>Equality ( == ) <\/strong>&nbsp;<strong>vs. Identity ( === )<\/strong> \u2013 When we see equal signs <strong>( = )<\/strong> in JavaScript, one equal sign is an assignment operator and not what we were used to when we were in math class.&nbsp;<\/p>\n\n\n\n<p>Two equal signs is strictly an equality operator. It only checks to see if the values are equal by attempting to convert the values to the other\u2019s data type. This is called type coercion.&nbsp;<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>console.log(8 == '8'); \/\/true<\/pre><\/div>\n\n\n\n<p>Similarly, if we see a bang\/exclamation point along with one equal sign <strong>( != )<\/strong>, known as the inequality operator, it compares two values to see if operands are not equal in number. It doesn\u2019t check for type.<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>console.log(8 != '4'); \/\/true<\/pre><\/div>\n\n\n\n<p>Conversely, the identity operator, three equal signs <strong>( === )<\/strong>, checks for type and number when comparing the two values.<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>console.log(8 === '8'); \/\/false\nconsole.log(8 === 8); \/\/true<\/pre><\/div>\n\n\n\n<p>Just like the inequality operator, the nonidentity operator <strong>( !== ) <\/strong>checks to see if the operands are unequal. In addition, it checks the type as well. If they are, the condition is true and will return true. If not, it will return false.<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>console.log(8 !== '8'); \/\/true\nconsole.log(8 !== 8); \/\/false<\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><\/h2>\n\n\n\n<iframe loading=\"lazy\" frameborder=\"0\" width=\"100%\" height=\"400px\" src=\"https:\/\/repl.it\/@careerkarma\/JavaScript-Operators-Comparison-and-Equality?lite=true\"><\/iframe>\n<br>\n<br>\n\n\n\n<h2 class=\"wp-block-heading\">Final Thoughts<\/h2>\n\n\n\n<p>Comparison and equality operators are essential to constructing logic in programming. When we compare the left operand with the right operand, we use equality operators to see if the values are equal in type, not in type, in type and number, or not in type and number. In addition, we use the comparison operators to help with the logic that will render a user interface (UI). When you feel comfortable with these operators, check out logical operators, the ternary operator, and bitwise operators!<br><\/p>\n\n\n\n<p><strong>Ready For More Tutorials on JavaScript?&nbsp;<\/strong><\/p>\n\n\n\n<p>Check these out!<br><\/p>\n\n\n\n<p><a href=\"https:\/\/careerkarma.com\/blog\/how-to-use-ternary-operators-javascript\/\">JavaScript Ternary Operator: A Step-By-Step Guide<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/careerkarma.com\/blog\/javascript-switch-case\/\">JavaScript Switch Case: A Step-By-Step Guide<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/careerkarma.com\/blog\/javascript-syntax-a-guide-for-beginners\/\">JavaScript Syntax: A Guide for Beginners<\/a><br><\/p>\n","protected":false},"excerpt":{"rendered":"We first encountered operators when we were children learning arithmetic in elementary school. Operators are the symbols in between two operands. In web development, we use operators to compare two values to determine if an expression is true or false. In this article, we\u2019ll take a look at comparison (a.k.a relational) and equality operators \u2013&hellip;","protected":false},"author":77,"featured_media":19998,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[11933],"tags":[],"class_list":{"0":"post-20249","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-javascript"},"acf":{"post_sub_title":"","sprint_id":"","query_class":"JavaScript","school_sft":"","parent_sft":"","school_privacy_policy":"","has_review":null,"is_sponser_post":"","is_guest_post":""},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.0 (Yoast SEO v27.0) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>JavaScript Operators: Comparison and Equality | Career Karma<\/title>\n<meta name=\"description\" content=\"Programming languages since the dawn of coding have used some sort of operator to compare two elements. What are they and how are they used?\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/careerkarma.com\/blog\/js-comparison\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"JavaScript Operators: Comparison and Equality\" \/>\n<meta property=\"og:description\" content=\"Programming languages since the dawn of coding have used some sort of operator to compare two elements. What are they and how are they used?\" \/>\n<meta property=\"og:url\" content=\"https:\/\/careerkarma.com\/blog\/js-comparison\/\" \/>\n<meta property=\"og:site_name\" content=\"Career Karma\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/facebook.com\/careerkarmaapp\" \/>\n<meta property=\"article:published_time\" content=\"2020-07-25T13:02:41+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-01-04T10:50:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/07\/glenn-carstens-peters-6rkJD0Uxois-unsplash.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1020\" \/>\n\t<meta property=\"og:image:height\" content=\"679\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Christina Kopecky\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@career_karma\" \/>\n<meta name=\"twitter:site\" content=\"@career_karma\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Christina Kopecky\" \/>\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:\/\/careerkarma.com\/blog\/js-comparison\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/js-comparison\/\"},\"author\":{\"name\":\"Christina Kopecky\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/ae0cdc4a5d198690d78482646894074e\"},\"headline\":\"JavaScript Operators: Comparison and Equality\",\"datePublished\":\"2020-07-25T13:02:41+00:00\",\"dateModified\":\"2021-01-04T10:50:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/js-comparison\/\"},\"wordCount\":569,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/js-comparison\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/07\/glenn-carstens-peters-6rkJD0Uxois-unsplash.jpg\",\"articleSection\":[\"JavaScript\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/careerkarma.com\/blog\/js-comparison\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/careerkarma.com\/blog\/js-comparison\/\",\"url\":\"https:\/\/careerkarma.com\/blog\/js-comparison\/\",\"name\":\"JavaScript Operators: Comparison and Equality | Career Karma\",\"isPartOf\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/js-comparison\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/js-comparison\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/07\/glenn-carstens-peters-6rkJD0Uxois-unsplash.jpg\",\"datePublished\":\"2020-07-25T13:02:41+00:00\",\"dateModified\":\"2021-01-04T10:50:45+00:00\",\"author\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/ae0cdc4a5d198690d78482646894074e\"},\"description\":\"Programming languages since the dawn of coding have used some sort of operator to compare two elements. What are they and how are they used?\",\"breadcrumb\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/js-comparison\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/careerkarma.com\/blog\/js-comparison\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/careerkarma.com\/blog\/js-comparison\/#primaryimage\",\"url\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/07\/glenn-carstens-peters-6rkJD0Uxois-unsplash.jpg\",\"contentUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/07\/glenn-carstens-peters-6rkJD0Uxois-unsplash.jpg\",\"width\":1020,\"height\":679,\"caption\":\"Laptop beside typewriter\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/careerkarma.com\/blog\/js-comparison\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog\",\"item\":\"https:\/\/careerkarma.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"JavaScript\",\"item\":\"https:\/\/careerkarma.com\/blog\/javascript\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"JavaScript Operators: Comparison and Equality\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#website\",\"url\":\"https:\/\/careerkarma.com\/blog\/\",\"name\":\"Career Karma\",\"description\":\"Latest Coding Bootcamp News &amp; Career Hacks from Industry Insiders\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/careerkarma.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/ae0cdc4a5d198690d78482646894074e\",\"name\":\"Christina Kopecky\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/06\/image-3-150x150.jpg\",\"contentUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/06\/image-3-150x150.jpg\",\"caption\":\"Christina Kopecky\"},\"description\":\"Christina is an experienced technical writer, covering topics as diverse as Java, SQL, Python, and web development. She earned her Master of Music in flute performance from the University of Kansas and a bachelor's degree in music with minors in French and mass communication from Southeast Missouri State. Prior to joining the Career Karma team in June 2020, Christina was a teaching assistant, team lead, and section lead at Lambda School, where she led student groups, performed code and project reviews, and debugged problems for students. Christina's technical content is featured frequently in publications like Codecademy, Repl.it, and Educative.\",\"sameAs\":[\"http:\/\/www.linkedin.com\/in\/cmvnk\"],\"url\":\"https:\/\/careerkarma.com\/blog\/author\/christina-kopecky\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"JavaScript Operators: Comparison and Equality | Career Karma","description":"Programming languages since the dawn of coding have used some sort of operator to compare two elements. What are they and how are they used?","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:\/\/careerkarma.com\/blog\/js-comparison\/","og_locale":"en_US","og_type":"article","og_title":"JavaScript Operators: Comparison and Equality","og_description":"Programming languages since the dawn of coding have used some sort of operator to compare two elements. What are they and how are they used?","og_url":"https:\/\/careerkarma.com\/blog\/js-comparison\/","og_site_name":"Career Karma","article_publisher":"http:\/\/facebook.com\/careerkarmaapp","article_published_time":"2020-07-25T13:02:41+00:00","article_modified_time":"2021-01-04T10:50:45+00:00","og_image":[{"width":1020,"height":679,"url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/07\/glenn-carstens-peters-6rkJD0Uxois-unsplash.jpg","type":"image\/jpeg"}],"author":"Christina Kopecky","twitter_card":"summary_large_image","twitter_creator":"@career_karma","twitter_site":"@career_karma","twitter_misc":{"Written by":"Christina Kopecky","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/careerkarma.com\/blog\/js-comparison\/#article","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/js-comparison\/"},"author":{"name":"Christina Kopecky","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/ae0cdc4a5d198690d78482646894074e"},"headline":"JavaScript Operators: Comparison and Equality","datePublished":"2020-07-25T13:02:41+00:00","dateModified":"2021-01-04T10:50:45+00:00","mainEntityOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/js-comparison\/"},"wordCount":569,"commentCount":0,"image":{"@id":"https:\/\/careerkarma.com\/blog\/js-comparison\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/07\/glenn-carstens-peters-6rkJD0Uxois-unsplash.jpg","articleSection":["JavaScript"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/careerkarma.com\/blog\/js-comparison\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/careerkarma.com\/blog\/js-comparison\/","url":"https:\/\/careerkarma.com\/blog\/js-comparison\/","name":"JavaScript Operators: Comparison and Equality | Career Karma","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/js-comparison\/#primaryimage"},"image":{"@id":"https:\/\/careerkarma.com\/blog\/js-comparison\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/07\/glenn-carstens-peters-6rkJD0Uxois-unsplash.jpg","datePublished":"2020-07-25T13:02:41+00:00","dateModified":"2021-01-04T10:50:45+00:00","author":{"@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/ae0cdc4a5d198690d78482646894074e"},"description":"Programming languages since the dawn of coding have used some sort of operator to compare two elements. What are they and how are they used?","breadcrumb":{"@id":"https:\/\/careerkarma.com\/blog\/js-comparison\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/careerkarma.com\/blog\/js-comparison\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/js-comparison\/#primaryimage","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/07\/glenn-carstens-peters-6rkJD0Uxois-unsplash.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/07\/glenn-carstens-peters-6rkJD0Uxois-unsplash.jpg","width":1020,"height":679,"caption":"Laptop beside typewriter"},{"@type":"BreadcrumbList","@id":"https:\/\/careerkarma.com\/blog\/js-comparison\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog","item":"https:\/\/careerkarma.com\/blog\/"},{"@type":"ListItem","position":2,"name":"JavaScript","item":"https:\/\/careerkarma.com\/blog\/javascript\/"},{"@type":"ListItem","position":3,"name":"JavaScript Operators: Comparison and Equality"}]},{"@type":"WebSite","@id":"https:\/\/careerkarma.com\/blog\/#website","url":"https:\/\/careerkarma.com\/blog\/","name":"Career Karma","description":"Latest Coding Bootcamp News &amp; Career Hacks from Industry Insiders","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/careerkarma.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/ae0cdc4a5d198690d78482646894074e","name":"Christina Kopecky","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/06\/image-3-150x150.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/06\/image-3-150x150.jpg","caption":"Christina Kopecky"},"description":"Christina is an experienced technical writer, covering topics as diverse as Java, SQL, Python, and web development. She earned her Master of Music in flute performance from the University of Kansas and a bachelor's degree in music with minors in French and mass communication from Southeast Missouri State. Prior to joining the Career Karma team in June 2020, Christina was a teaching assistant, team lead, and section lead at Lambda School, where she led student groups, performed code and project reviews, and debugged problems for students. Christina's technical content is featured frequently in publications like Codecademy, Repl.it, and Educative.","sameAs":["http:\/\/www.linkedin.com\/in\/cmvnk"],"url":"https:\/\/careerkarma.com\/blog\/author\/christina-kopecky\/"}]}},"_links":{"self":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/20249","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/users\/77"}],"replies":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/comments?post=20249"}],"version-history":[{"count":0,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/20249\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media\/19998"}],"wp:attachment":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media?parent=20249"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/categories?post=20249"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/tags?post=20249"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}