{"id":27839,"date":"2023-05-09T12:11:53","date_gmt":"2023-05-09T06:41:53","guid":{"rendered":"https:\/\/tutorial.eyehunts.com\/?p=27839"},"modified":"2023-05-09T12:11:55","modified_gmt":"2023-05-09T06:41:55","slug":"javascript-function-return-statement","status":"publish","type":"post","link":"https:\/\/tutorial.eyehunts.com\/js\/javascript-function-return-statement\/","title":{"rendered":"JavaScript Function Return statement"},"content":{"rendered":"\n<p>The <code>return<\/code> statement in JavaScript allows a function to return a value when it is called. This value can be used for further processing or stored in a <a href=\"https:\/\/tutorial.eyehunts.com\/js\/javascript-variables-types-declaration-scope-string\/\">variable<\/a>. The <code>return<\/code> statement immediately exits the function and any code after it will not be executed.<\/p>\n\n\n\n<p>The syntax of the <code>return<\/code> statement in JavaScript is as follows:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">return expression;\r<\/pre>\n\n\n\n<p>Here, <code>expression<\/code> is the value that the function will return. It can be any valid JavaScript expression, including a variable, a literal value, or a more complex expression.<\/p>\n\n\n\n<p>Here&#8217;s an example of a function that returns a value:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>function addNumbers(num1, num2) {\r\n  return num1 + num2;\r\n}\r<\/code><\/pre>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>JavaScript Function Return Example<\/strong><\/h2>\n\n\n\n<p>Simple example code of a function that uses the <code>return<\/code> statement to return a value:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;!DOCTYPE html>\r\n&lt;html>\r\n&lt;head>\r\n  &lt;script>\r\n    function calculateArea(width, height) {\r\n        var area = width * height;\r\n        return area;\r\n    }\r\n\r\n    var rectangleArea = calculateArea(5, 7);\r\n    console.log(rectangleArea); \/\/ Output: 35\r\n\r\n  &lt;\/script>\r\n&lt;\/head>\r\n&lt;\/html>\r<\/code><\/pre>\n\n\n\n<p><strong>Output:<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"306\" height=\"167\" src=\"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2023\/05\/JavaScript-Function-Return-statement.jpg?resize=306%2C167&#038;ssl=1\" alt=\"JavaScript Function Return statement\" class=\"wp-image-39221\"\/><\/figure><\/div>\n\n\n<p><strong>Another example<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>function calculateTotalPrice(price, taxRate) {\r\n  var taxAmount = price * taxRate;\r\n  var totalPrice = price + taxAmount;\r\n  return totalPrice;\r\n}\r\n\r\nvar itemPrice = 10;\r\nvar taxRate = 0.2;\r\nvar totalPrice = calculateTotalPrice(itemPrice, taxRate);\r\nconsole.log(\"The total price is: \" + totalPrice); \/\/ Output: The total price is: 12\r<\/code><\/pre>\n\n\n\n<p>To use the function, we define two variables <code>itemPrice<\/code> and <code>taxRate<\/code>, and then call the <code>calculateTotalPrice<\/code> function with these variables as arguments. The returned value is stored in the <code>totalPrice<\/code> variable.<\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Comment if you have any doubts or suggestions on this JS function topic.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><strong>Note:<\/strong>&nbsp;The<strong>&nbsp;All JS Examples codes&nbsp;<\/strong>are&nbsp;tested on the Firefox browser and the Chrome browser.<\/p><p>OS:&nbsp;<strong>Windows 10<\/strong><\/p><p>Code: HTML 5 Version<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>The return statement in JavaScript allows a function to return a value when it is called. This value can be used for further processing or stored in a variable. The return statement immediately exits the function and any code after it will not be executed. The syntax of the return statement in JavaScript is as&hellip;&nbsp;<a href=\"https:\/\/tutorial.eyehunts.com\/js\/javascript-function-return-statement\/\" rel=\"bookmark\">Read More &raquo;<span class=\"screen-reader-text\">JavaScript Function Return statement<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[69],"tags":[105,416],"post_series":[],"class_list":["post-27839","post","type-post","status-publish","format-standard","hentry","category-js","tag-js-function","tag-js-retrun"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.1.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>JavaScript Function Return statement<\/title>\n<meta name=\"description\" content=\"The return statement in JavaScript allows a function to return a value when it is called. This value can be used for further processing or...\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/tutorial.eyehunts.com\/js\/javascript-function-return-statement\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"JavaScript Function Return statement\" \/>\n<meta property=\"og:description\" content=\"The return statement in JavaScript allows a function to return a value when it is called. This value can be used for further processing or...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/tutorial.eyehunts.com\/js\/javascript-function-return-statement\/\" \/>\n<meta property=\"og:site_name\" content=\"Tutorial\" \/>\n<meta property=\"article:published_time\" content=\"2023-05-09T06:41:53+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-05-09T06:41:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/tutorial.eyehunts.com\/wp-content\/uploads\/2023\/05\/JavaScript-Function-Return-statement.jpg\" \/>\n<meta name=\"author\" content=\"Rohit\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Rohit\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/js\/javascript-function-return-statement\/\",\"url\":\"https:\/\/tutorial.eyehunts.com\/js\/javascript-function-return-statement\/\",\"name\":\"JavaScript Function Return statement\",\"isPartOf\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/js\/javascript-function-return-statement\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/js\/javascript-function-return-statement\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/tutorial.eyehunts.com\/wp-content\/uploads\/2023\/05\/JavaScript-Function-Return-statement.jpg\",\"datePublished\":\"2023-05-09T06:41:53+00:00\",\"dateModified\":\"2023-05-09T06:41:55+00:00\",\"author\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/69ca2cb8c13fdce0ee5b39d6175119b1\"},\"description\":\"The return statement in JavaScript allows a function to return a value when it is called. This value can be used for further processing or...\",\"breadcrumb\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/js\/javascript-function-return-statement\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/tutorial.eyehunts.com\/js\/javascript-function-return-statement\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/js\/javascript-function-return-statement\/#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2023\/05\/JavaScript-Function-Return-statement.jpg?fit=306%2C167&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2023\/05\/JavaScript-Function-Return-statement.jpg?fit=306%2C167&ssl=1\",\"width\":306,\"height\":167},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/js\/javascript-function-return-statement\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/tutorial.eyehunts.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"JavaScript Function Return statement\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/#website\",\"url\":\"https:\/\/tutorial.eyehunts.com\/\",\"name\":\"Tutorial\",\"description\":\"By EyeHunts\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/tutorial.eyehunts.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/69ca2cb8c13fdce0ee5b39d6175119b1\",\"name\":\"Rohit\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/tutorial.eyehunts.com\/wp-content\/litespeed\/avatar\/2b27529b86d6dfb5336897e07c93a827.jpg?ver=1777374971\",\"contentUrl\":\"https:\/\/tutorial.eyehunts.com\/wp-content\/litespeed\/avatar\/2b27529b86d6dfb5336897e07c93a827.jpg?ver=1777374971\",\"caption\":\"Rohit\"},\"description\":\"Degree in Computer Science and Engineer: App Developer and has multiple Programming languages experience. Enthusiasm for technology &amp; like learning technical.\",\"url\":\"https:\/\/tutorial.eyehunts.com\/author\/rohit\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"JavaScript Function Return statement","description":"The return statement in JavaScript allows a function to return a value when it is called. This value can be used for further processing or...","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:\/\/tutorial.eyehunts.com\/js\/javascript-function-return-statement\/","og_locale":"en_US","og_type":"article","og_title":"JavaScript Function Return statement","og_description":"The return statement in JavaScript allows a function to return a value when it is called. This value can be used for further processing or...","og_url":"https:\/\/tutorial.eyehunts.com\/js\/javascript-function-return-statement\/","og_site_name":"Tutorial","article_published_time":"2023-05-09T06:41:53+00:00","article_modified_time":"2023-05-09T06:41:55+00:00","og_image":[{"url":"https:\/\/tutorial.eyehunts.com\/wp-content\/uploads\/2023\/05\/JavaScript-Function-Return-statement.jpg","type":"","width":"","height":""}],"author":"Rohit","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Rohit","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/tutorial.eyehunts.com\/js\/javascript-function-return-statement\/","url":"https:\/\/tutorial.eyehunts.com\/js\/javascript-function-return-statement\/","name":"JavaScript Function Return statement","isPartOf":{"@id":"https:\/\/tutorial.eyehunts.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/tutorial.eyehunts.com\/js\/javascript-function-return-statement\/#primaryimage"},"image":{"@id":"https:\/\/tutorial.eyehunts.com\/js\/javascript-function-return-statement\/#primaryimage"},"thumbnailUrl":"https:\/\/tutorial.eyehunts.com\/wp-content\/uploads\/2023\/05\/JavaScript-Function-Return-statement.jpg","datePublished":"2023-05-09T06:41:53+00:00","dateModified":"2023-05-09T06:41:55+00:00","author":{"@id":"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/69ca2cb8c13fdce0ee5b39d6175119b1"},"description":"The return statement in JavaScript allows a function to return a value when it is called. This value can be used for further processing or...","breadcrumb":{"@id":"https:\/\/tutorial.eyehunts.com\/js\/javascript-function-return-statement\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/tutorial.eyehunts.com\/js\/javascript-function-return-statement\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/tutorial.eyehunts.com\/js\/javascript-function-return-statement\/#primaryimage","url":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2023\/05\/JavaScript-Function-Return-statement.jpg?fit=306%2C167&ssl=1","contentUrl":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2023\/05\/JavaScript-Function-Return-statement.jpg?fit=306%2C167&ssl=1","width":306,"height":167},{"@type":"BreadcrumbList","@id":"https:\/\/tutorial.eyehunts.com\/js\/javascript-function-return-statement\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/tutorial.eyehunts.com\/"},{"@type":"ListItem","position":2,"name":"JavaScript Function Return statement"}]},{"@type":"WebSite","@id":"https:\/\/tutorial.eyehunts.com\/#website","url":"https:\/\/tutorial.eyehunts.com\/","name":"Tutorial","description":"By EyeHunts","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/tutorial.eyehunts.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/69ca2cb8c13fdce0ee5b39d6175119b1","name":"Rohit","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/image\/","url":"https:\/\/tutorial.eyehunts.com\/wp-content\/litespeed\/avatar\/2b27529b86d6dfb5336897e07c93a827.jpg?ver=1777374971","contentUrl":"https:\/\/tutorial.eyehunts.com\/wp-content\/litespeed\/avatar\/2b27529b86d6dfb5336897e07c93a827.jpg?ver=1777374971","caption":"Rohit"},"description":"Degree in Computer Science and Engineer: App Developer and has multiple Programming languages experience. Enthusiasm for technology &amp; like learning technical.","url":"https:\/\/tutorial.eyehunts.com\/author\/rohit\/"}]}},"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":32578,"url":"https:\/\/tutorial.eyehunts.com\/js\/void-function-return-value-is-used-in-javascript\/","url_meta":{"origin":27839,"position":0},"title":"Void function return value is used in JavaScript","author":"Rohit","date":"August 26, 2022","format":false,"excerpt":"JavaScript Void function return value is used as the return type of function that does not return any value. The void operator is often used for obtaining the undefined primitive value. void expression Void function return value is used in JavaScript A simple example code describes the returning undefined value.\u2026","rel":"","context":"In &quot;JavaScript&quot;","block_context":{"text":"JavaScript","link":"https:\/\/tutorial.eyehunts.com\/category\/js\/"},"img":{"alt_text":"Void function return value is used in JavaScript","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2022\/08\/Void-function-return-value-is-used-in-JavaScript.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":38701,"url":"https:\/\/tutorial.eyehunts.com\/js\/javascript-function-returns-undefined-instead-of-value\/","url_meta":{"origin":27839,"position":1},"title":"JavaScript function returns undefined instead of value","author":"Rohit","date":"April 25, 2023","format":false,"excerpt":"If you're experiencing a JavaScript function that returns undefined instead of the expected value, there may be several reasons behind this. These reasons include not having a return statement, not reaching the return statement, having a typo in the variable name, asynchronous code, incorrect data type, and incorrect function call.\u2026","rel":"","context":"In &quot;JavaScript&quot;","block_context":{"text":"JavaScript","link":"https:\/\/tutorial.eyehunts.com\/category\/js\/"},"img":{"alt_text":"JavaScript function returns undefined instead of value","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2023\/04\/JavaScript-function-returns-undefined-instead-of-value.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":30130,"url":"https:\/\/tutorial.eyehunts.com\/js\/javascript-function-return-boolean-example-code\/","url_meta":{"origin":27839,"position":2},"title":"JavaScript function return boolean | Example code","author":"Rohit","date":"June 2, 2022","format":false,"excerpt":"You can return a boolean value from a JavaScript function. Create a function and use the if statement to evaluate the given value to the function. And return true or false according to the conditions. function func(){ return true; } isBool = func(); console.log(typeof (isBool)); \/\/ output - string let\u2026","rel":"","context":"In &quot;JavaScript&quot;","block_context":{"text":"JavaScript","link":"https:\/\/tutorial.eyehunts.com\/category\/js\/"},"img":{"alt_text":"JavaScript function return boolean","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2022\/06\/JavaScript-function-return-boolean.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":18041,"url":"https:\/\/tutorial.eyehunts.com\/js\/arrow-function-javascript-basic-code\/","url_meta":{"origin":27839,"position":3},"title":"Arrow function JavaScript | Basic code","author":"Rohit","date":"April 13, 2022","format":false,"excerpt":"JavaScript Arrow Function is a function but it's a way to create functions in a cleaner way compared to regular functions. Here is a shorter function syntax: let myFunction = (a, b) => a * b; let myFunction = (arg1, arg2, ...argN) => { statement(s) } You can say arrow\u2026","rel":"","context":"In &quot;JavaScript&quot;","block_context":{"text":"JavaScript","link":"https:\/\/tutorial.eyehunts.com\/category\/js\/"},"img":{"alt_text":"Arrow function JavaScript","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2022\/04\/Arrow-function-JavaScript.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":5711,"url":"https:\/\/tutorial.eyehunts.com\/js\/javascript-function-call-return-value-declaration-parameter-example\/","url_meta":{"origin":27839,"position":4},"title":"JavaScript function() call | Return value, declaration, parameters | Examples","author":"Rohit","date":"April 30, 2019","format":false,"excerpt":"Definition: A Javascript Function used to perform a particular task. For example, adding numbers, Multiplication, etc. Any Programming language function is just a piece of code designed to do some task and make it reusable. The JavaScript function is executed on call. This means when the code needed this functionality\u2026","rel":"","context":"In &quot;JavaScript&quot;","block_context":{"text":"JavaScript","link":"https:\/\/tutorial.eyehunts.com\/category\/js\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2019\/04\/JavaScript-function-call.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2019\/04\/JavaScript-function-call.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2019\/04\/JavaScript-function-call.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2019\/04\/JavaScript-function-call.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2019\/04\/JavaScript-function-call.png?resize=1050%2C600&ssl=1 3x"},"classes":[]},{"id":25390,"url":"https:\/\/tutorial.eyehunts.com\/js\/how-to-refactor-multiple-if-statements-javascript\/","url_meta":{"origin":27839,"position":5},"title":"How to refactor multiple if statements JavaScript","author":"Rohit","date":"April 27, 2023","format":false,"excerpt":"Refactoring multiple if statements in JavaScript can make your code more concise and easier to read.One way to refactor multiple if statements are by using a switch statement. A switch statement allows you to evaluate an expression and execute code based on the result of that expression. switch(expression) { case\u2026","rel":"","context":"In &quot;JavaScript&quot;","block_context":{"text":"JavaScript","link":"https:\/\/tutorial.eyehunts.com\/category\/js\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2023\/04\/How-to-refactor-multiple-if-statements-JavaScript.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/posts\/27839","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/comments?post=27839"}],"version-history":[{"count":1,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/posts\/27839\/revisions"}],"predecessor-version":[{"id":39222,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/posts\/27839\/revisions\/39222"}],"wp:attachment":[{"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/media?parent=27839"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/categories?post=27839"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/tags?post=27839"},{"taxonomy":"post_series","embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/post_series?post=27839"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}