{"id":12127,"date":"2023-01-25T08:07:25","date_gmt":"2023-01-25T08:07:25","guid":{"rendered":"https:\/\/www.prepbytes.com\/blog\/?p=12127"},"modified":"2023-04-28T06:33:19","modified_gmt":"2023-04-28T06:33:19","slug":"javascript-array-from-method","status":"publish","type":"post","link":"https:\/\/prepbytes.com\/blog\/javascript-array-from-method\/","title":{"rendered":"JavaScript Array from() Method"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1674551222671-JavaScript%20Array%20from%20Method.jpg\" alt=\"\" \/><\/p>\n<p>The array.from() method in JavaScript allows us to create a new array from an array-like object or an iterable object. The Array.from() method provides a convenient way to convert other data types, such as strings or sets, into arrays. We will explore the syntax of the Array.from() method, how to use it with different types of input, and some common use cases. By the end of this article, you will have a better understanding of the Array.from() method and how to use it in your JavaScript programs.<\/p>\n<h2>What is Array.from() Method in JavaScript?<\/h2>\n<p>The Array from() method in JavaScript allows for the creation of a new array instance from an existing array. When it comes to integer values, a new array instance simply takes the elements of the existing array. However, when the existing array contains strings, each letter in the string becomes an element in the new array instance.<\/p>\n<h3>Syntax of Array.from() Method<\/h3>\n<pre><code>Array.from(object, mapFunction, thisValue)<\/code><\/pre>\n<h3>Parameters of Array.from() Method<\/h3>\n<p>As previously indicated and further defined below, the Array.from() Method accepts the following three parameters:<\/p>\n<ul>\n<li><strong>object:<\/strong> The object that will be converted into an array is stored in this parameter.<\/li>\n<li><strong>mapFunction:<\/strong> This optional parameter is used to call on each element of the array.<\/li>\n<li><strong>thisValue:<\/strong> This is an optional parameter that contains the context that must be given in order to use it when using the mapFunction. Every time the callback function is called, the context will be used this way if it is supplied, otherwise, undefined is used by default.<\/li>\n<\/ul>\n<h3>Return value of Array.from() Method<\/h3>\n<p>The Array.from() Method returns the elements of the new Array instance that match those of the original array. Every letter of a string is turned into an element of the new array instance in the case of a string.<\/p>\n<p>In ES5, you iterate over all array items and add each one to an intermediate array in order to generate an array from an object that behaves like an array:<\/p>\n<pre><code>function arrayFromArgs() {\n    var results = [];\n    for (var i = 0; i < arguments.length; i++) {\n        results.push(arguments[i]);\n    }\n    return results;\n}\nvar fruits = arrayFromArgs('Apple', 'Orange', 'Banana');\nconsole.log(fruits);<\/code><\/pre>\n<p><strong>Output:<\/strong><\/p>\n<pre><code>[ 'Apple', 'Orange', 'Banana' ]<\/code><\/pre>\n<p>You may use the Array.prototype's slice() method to condense it as follows:<\/p>\n<pre><code>function arrayFromArgs() {\n    return Array.prototype.slice.call(arguments);\n}\nvar fruits = arrayFromArgs('Apple', 'Orange', 'Banana');\nconsole.log(fruits);<\/code><\/pre>\n<h3>ES6 Syntax of Array.from() Method<\/h3>\n<p>The Array.from() method, which is new in ES6, creates a new instance of the Array from an object that acts like an array or is iterable. The syntax for the Array.from() method is shown below:<\/p>\n<pre><code>Array.from(target [, mapFn[, thisArg]])<\/code><\/pre>\n<p><strong>In this syntax:<\/strong><\/p>\n<ul>\n<li>target is an object to be converted into an array that is iterable or array-like.<\/li>\n<li>The map function, or mapFn, should be used on each element of the array.<\/li>\n<li>The value used to call the mapFn method is thisArg.<\/li>\n<\/ul>\n<p>A new instance of Array is returned by the Array.from() method, and it contains every element of the source object.<\/p>\n<h2>Examples of Array.from() Method in JavaScript<\/h2>\n<p>Let\u2019s look into some of the examples for a better understanding of the Array.from Method.<\/p>\n<h3>Creating an Array from an Array-like Object using Array.from()<\/h3>\n<p>The following example demonstrates how to build a new array from a function's arguments object using the Array.from() method:<\/p>\n<p><strong>Code:<\/strong><\/p>\n<pre><code>function arrayFromArgs() {\n    return Array.from(arguments);\n}\n\nconsole.log(arrayFromArgs(1, 'A'));<\/code><\/pre>\n<p><strong>Output:<\/strong><\/p>\n<pre><code>[ 1, 'A' ]<\/code><\/pre>\n<p>In this example, we create an array from arguments of the arrayFromArgs() function and return the array.<\/p>\n<h3>Using the Array.from() function with a Mapping Function<\/h3>\n<p>You can run the mapping function on each element of the array that is being formed by using the callback function that is accepted by the Array.from() method. See the code given below.<\/p>\n<p><strong>Code:<\/strong><\/p>\n<pre><code>function addOne() {\n    return Array.from(arguments, x => x + 1);\n}\nconsole.log(addOne(1, 2, 3));<\/code><\/pre>\n<p><strong>Output:<\/strong><\/p>\n<pre><code>[ 2, 3, 4 ]<\/code><\/pre>\n<p>The addOne() function's arguments were each increased by one in this example, and the outcome was then added to the new array.<\/p>\n<h3>Using Array.from() in JavaScript with a This Value<\/h3>\n<p>We can also pass the third(optional) argument to the Array from() method if the mapping function is an object. In the mapping function, the object will serve as this value's representation.<\/p>\n<p><strong>Code:<\/strong><\/p>\n<pre><code>let doubler = {\n    factor: 2,\n    double(x) {\n        return x * this.factor;\n    }\n}\nlet scores = [5, 6, 7];\nlet newScores = Array.from(scores, doubler.double, doubler);\nconsole.log(newScores);<\/code><\/pre>\n<p><strong>Output:<\/strong><\/p>\n<pre><code>[ 10, 12, 14 ]<\/code><\/pre>\n<h3>Using Array.from() Method to Create an Array from an Iterable Object<\/h3>\n<p>You can use the Array.from() function to generate an array from any object that has a [symbol.iterator] attribute because it also operates on iterable objects. Here is the code for this.<\/p>\n<p><strong>Code:<\/strong><\/p>\n<pre><code>let even = {\n    *[Symbol.iterator]() {\n        for (let i = 0; i < 10; i += 2) {\n            yield i;\n        }\n    }\n};\nlet evenNumbers = Array.from(even);\nconsole.log(evenNumbers);<\/code><\/pre>\n<p><strong>Output:<\/strong><\/p>\n<pre><code>[0, 2, 4, 6, 8]<\/code><\/pre>\n<p><strong>In the above code:<\/strong><\/p>\n<ul>\n<li>The [System.iterator] that yields even values from 0 to 10 is used to define the even object.<\/li>\n<li>Then, from the even object, construct a new array of even numbers using the Array.from() method.<\/li>\n<\/ul>\n<p><strong>Conclusion<\/strong><br \/>\nIn this article, we learned about the Array.from() method in JavaScript that is used to create an array from an array-like or iterable object. We have discussed the syntax and various examples that show the usage of the Array.from() method. We hope this blog will help you in using the Array.from() method in JavaScript.<\/p>\n<h2>Frequently Asked Questions(FAQs)<\/h2>\n<p>Here are some frequently asked questions related to the array.from() method in JavaScript.<\/p>\n<p><strong>Ques 1. How can you use the Array.from() method to create a new array from a set?<\/strong><br \/>\n<strong>Ans.<\/strong> You can use the Array.from() method to create a new array from a set by passing the set as the first argument, like this: Array.from(mySet).<\/p>\n<p><strong>Ques 2. What happens if the input argument of the Array.from() method is not an array-like or iterable object?<\/strong><br \/>\n<strong>Ans.<\/strong> If the input argument is not an array-like or iterable object, the Array.from() method throws a TypeError.<\/p>\n<p><strong>Ques 3. What is an iterable object in JavaScript?<\/strong><br \/>\n<strong>Ans.<\/strong> An iterable object is an object that can be iterated over with the help of for..of.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The array.from() method in JavaScript allows us to create a new array from an array-like object or an iterable object. The Array.from() method provides a convenient way to convert other data types, such as strings or sets, into arrays. We will explore the syntax of the Array.from() method, how to use it with different types [&hellip;]<\/p>\n","protected":false},"author":52,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[162],"tags":[],"class_list":["post-12127","post","type-post","status-publish","format-standard","hentry","category-javascript"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>JavaScript Array from() Method<\/title>\n<meta name=\"description\" content=\"Array from() method is one of the most widely used methods in JavaScript. Lets give a look at the Array from() method in JavaScript with examples.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/prepbytes.com\/blog\/javascript-array-from-method\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"JavaScript Array from() Method\" \/>\n<meta property=\"og:description\" content=\"Array from() method is one of the most widely used methods in JavaScript. Lets give a look at the Array from() method in JavaScript with examples.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/prepbytes.com\/blog\/javascript-array-from-method\/\" \/>\n<meta property=\"og:site_name\" content=\"PrepBytes Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prepbytes0211\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-01-25T08:07:25+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-04-28T06:33:19+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1674551222671-JavaScript%20Array%20from%20Method.jpg\" \/>\n<meta name=\"author\" content=\"Prepbytes\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Prepbytes\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/prepbytes.com\/blog\/javascript-array-from-method\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/javascript-array-from-method\/\"},\"author\":{\"name\":\"Prepbytes\",\"@id\":\"http:\/\/43.205.93.38\/#\/schema\/person\/3f7dc4ae851791d5947a7f99df363d5e\"},\"headline\":\"JavaScript Array from() Method\",\"datePublished\":\"2023-01-25T08:07:25+00:00\",\"dateModified\":\"2023-04-28T06:33:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/javascript-array-from-method\/\"},\"wordCount\":914,\"commentCount\":0,\"publisher\":{\"@id\":\"http:\/\/43.205.93.38\/#organization\"},\"image\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/javascript-array-from-method\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1674551222671-JavaScript%20Array%20from%20Method.jpg\",\"articleSection\":[\"Javascript\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/prepbytes.com\/blog\/javascript-array-from-method\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/prepbytes.com\/blog\/javascript-array-from-method\/\",\"url\":\"https:\/\/prepbytes.com\/blog\/javascript-array-from-method\/\",\"name\":\"JavaScript Array from() Method\",\"isPartOf\":{\"@id\":\"http:\/\/43.205.93.38\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/javascript-array-from-method\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/javascript-array-from-method\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1674551222671-JavaScript%20Array%20from%20Method.jpg\",\"datePublished\":\"2023-01-25T08:07:25+00:00\",\"dateModified\":\"2023-04-28T06:33:19+00:00\",\"description\":\"Array from() method is one of the most widely used methods in JavaScript. Lets give a look at the Array from() method in JavaScript with examples.\",\"breadcrumb\":{\"@id\":\"https:\/\/prepbytes.com\/blog\/javascript-array-from-method\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/prepbytes.com\/blog\/javascript-array-from-method\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prepbytes.com\/blog\/javascript-array-from-method\/#primaryimage\",\"url\":\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1674551222671-JavaScript%20Array%20from%20Method.jpg\",\"contentUrl\":\"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1674551222671-JavaScript%20Array%20from%20Method.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/prepbytes.com\/blog\/javascript-array-from-method\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\/\/43.205.93.38\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Javascript\",\"item\":\"https:\/\/prepbytes.com\/blog\/category\/javascript\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"JavaScript Array from() Method\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/43.205.93.38\/#website\",\"url\":\"http:\/\/43.205.93.38\/\",\"name\":\"PrepBytes Blog\",\"description\":\"ONE-STOP RESOURCE FOR EVERYTHING RELATED TO CODING\",\"publisher\":{\"@id\":\"http:\/\/43.205.93.38\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/43.205.93.38\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"http:\/\/43.205.93.38\/#organization\",\"name\":\"Prepbytes\",\"url\":\"http:\/\/43.205.93.38\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/43.205.93.38\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/blog.prepbytes.com\/wp-content\/uploads\/2025\/07\/uzxxllgloialmn9mhwfe.webp\",\"contentUrl\":\"https:\/\/blog.prepbytes.com\/wp-content\/uploads\/2025\/07\/uzxxllgloialmn9mhwfe.webp\",\"width\":160,\"height\":160,\"caption\":\"Prepbytes\"},\"image\":{\"@id\":\"http:\/\/43.205.93.38\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/prepbytes0211\/\",\"https:\/\/www.instagram.com\/prepbytes\/\",\"https:\/\/www.linkedin.com\/company\/prepbytes\/\",\"https:\/\/www.youtube.com\/channel\/UC0xGnHDrjUM1pDEK2Ka5imA\"]},{\"@type\":\"Person\",\"@id\":\"http:\/\/43.205.93.38\/#\/schema\/person\/3f7dc4ae851791d5947a7f99df363d5e\",\"name\":\"Prepbytes\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/43.205.93.38\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/232042cd1a1ea0e982c96d2a2ec93fb70a8e864e00784491231e7bfe5a9e06b5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/232042cd1a1ea0e982c96d2a2ec93fb70a8e864e00784491231e7bfe5a9e06b5?s=96&d=mm&r=g\",\"caption\":\"Prepbytes\"},\"url\":\"https:\/\/prepbytes.com\/blog\/author\/gourav-jaincollegedekho-com\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"JavaScript Array from() Method","description":"Array from() method is one of the most widely used methods in JavaScript. Lets give a look at the Array from() method in JavaScript with examples.","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:\/\/prepbytes.com\/blog\/javascript-array-from-method\/","og_locale":"en_US","og_type":"article","og_title":"JavaScript Array from() Method","og_description":"Array from() method is one of the most widely used methods in JavaScript. Lets give a look at the Array from() method in JavaScript with examples.","og_url":"https:\/\/prepbytes.com\/blog\/javascript-array-from-method\/","og_site_name":"PrepBytes Blog","article_publisher":"https:\/\/www.facebook.com\/prepbytes0211\/","article_published_time":"2023-01-25T08:07:25+00:00","article_modified_time":"2023-04-28T06:33:19+00:00","og_image":[{"url":"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1674551222671-JavaScript%20Array%20from%20Method.jpg","type":"","width":"","height":""}],"author":"Prepbytes","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Prepbytes","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/prepbytes.com\/blog\/javascript-array-from-method\/#article","isPartOf":{"@id":"https:\/\/prepbytes.com\/blog\/javascript-array-from-method\/"},"author":{"name":"Prepbytes","@id":"http:\/\/43.205.93.38\/#\/schema\/person\/3f7dc4ae851791d5947a7f99df363d5e"},"headline":"JavaScript Array from() Method","datePublished":"2023-01-25T08:07:25+00:00","dateModified":"2023-04-28T06:33:19+00:00","mainEntityOfPage":{"@id":"https:\/\/prepbytes.com\/blog\/javascript-array-from-method\/"},"wordCount":914,"commentCount":0,"publisher":{"@id":"http:\/\/43.205.93.38\/#organization"},"image":{"@id":"https:\/\/prepbytes.com\/blog\/javascript-array-from-method\/#primaryimage"},"thumbnailUrl":"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1674551222671-JavaScript%20Array%20from%20Method.jpg","articleSection":["Javascript"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/prepbytes.com\/blog\/javascript-array-from-method\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/prepbytes.com\/blog\/javascript-array-from-method\/","url":"https:\/\/prepbytes.com\/blog\/javascript-array-from-method\/","name":"JavaScript Array from() Method","isPartOf":{"@id":"http:\/\/43.205.93.38\/#website"},"primaryImageOfPage":{"@id":"https:\/\/prepbytes.com\/blog\/javascript-array-from-method\/#primaryimage"},"image":{"@id":"https:\/\/prepbytes.com\/blog\/javascript-array-from-method\/#primaryimage"},"thumbnailUrl":"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1674551222671-JavaScript%20Array%20from%20Method.jpg","datePublished":"2023-01-25T08:07:25+00:00","dateModified":"2023-04-28T06:33:19+00:00","description":"Array from() method is one of the most widely used methods in JavaScript. Lets give a look at the Array from() method in JavaScript with examples.","breadcrumb":{"@id":"https:\/\/prepbytes.com\/blog\/javascript-array-from-method\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/prepbytes.com\/blog\/javascript-array-from-method\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prepbytes.com\/blog\/javascript-array-from-method\/#primaryimage","url":"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1674551222671-JavaScript%20Array%20from%20Method.jpg","contentUrl":"https:\/\/prepbytes-misc-images.s3.ap-south-1.amazonaws.com\/assets\/1674551222671-JavaScript%20Array%20from%20Method.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/prepbytes.com\/blog\/javascript-array-from-method\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/43.205.93.38\/"},{"@type":"ListItem","position":2,"name":"Javascript","item":"https:\/\/prepbytes.com\/blog\/category\/javascript\/"},{"@type":"ListItem","position":3,"name":"JavaScript Array from() Method"}]},{"@type":"WebSite","@id":"http:\/\/43.205.93.38\/#website","url":"http:\/\/43.205.93.38\/","name":"PrepBytes Blog","description":"ONE-STOP RESOURCE FOR EVERYTHING RELATED TO CODING","publisher":{"@id":"http:\/\/43.205.93.38\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/43.205.93.38\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"http:\/\/43.205.93.38\/#organization","name":"Prepbytes","url":"http:\/\/43.205.93.38\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/43.205.93.38\/#\/schema\/logo\/image\/","url":"https:\/\/blog.prepbytes.com\/wp-content\/uploads\/2025\/07\/uzxxllgloialmn9mhwfe.webp","contentUrl":"https:\/\/blog.prepbytes.com\/wp-content\/uploads\/2025\/07\/uzxxllgloialmn9mhwfe.webp","width":160,"height":160,"caption":"Prepbytes"},"image":{"@id":"http:\/\/43.205.93.38\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/prepbytes0211\/","https:\/\/www.instagram.com\/prepbytes\/","https:\/\/www.linkedin.com\/company\/prepbytes\/","https:\/\/www.youtube.com\/channel\/UC0xGnHDrjUM1pDEK2Ka5imA"]},{"@type":"Person","@id":"http:\/\/43.205.93.38\/#\/schema\/person\/3f7dc4ae851791d5947a7f99df363d5e","name":"Prepbytes","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/43.205.93.38\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/232042cd1a1ea0e982c96d2a2ec93fb70a8e864e00784491231e7bfe5a9e06b5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/232042cd1a1ea0e982c96d2a2ec93fb70a8e864e00784491231e7bfe5a9e06b5?s=96&d=mm&r=g","caption":"Prepbytes"},"url":"https:\/\/prepbytes.com\/blog\/author\/gourav-jaincollegedekho-com\/"}]}},"_links":{"self":[{"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/posts\/12127","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/users\/52"}],"replies":[{"embeddable":true,"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/comments?post=12127"}],"version-history":[{"count":2,"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/posts\/12127\/revisions"}],"predecessor-version":[{"id":16060,"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/posts\/12127\/revisions\/16060"}],"wp:attachment":[{"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/media?parent=12127"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/categories?post=12127"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prepbytes.com\/blog\/wp-json\/wp\/v2\/tags?post=12127"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}