{"id":10292,"date":"2025-01-22T07:30:10","date_gmt":"2025-01-22T04:30:10","guid":{"rendered":"https:\/\/fatihsoysal.com\/blog\/javascriptte-object-fromentries-ile-iterablelari-objelere-donusturme\/"},"modified":"2025-01-22T07:30:10","modified_gmt":"2025-01-22T04:30:10","slug":"javascriptte-object-fromentries-ile-iterablelari-objelere-donusturme","status":"publish","type":"post","link":"https:\/\/fatihsoysal.com\/blog\/javascriptte-object-fromentries-ile-iterablelari-objelere-donusturme\/","title":{"rendered":"JavaScript&#8217;te Object.fromEntries() ile \u0130terable&#8217;lar\u0131 Objelere D\u00f6n\u00fc\u015ft\u00fcrme"},"content":{"rendered":"<p>JavaScript&#8217;te Object.fromEntries() ile \u0130terable&#8217;lar\u0131 Objelere D\u00f6n\u00fc\u015ft\u00fcrme<\/p>\n<p>Merhaba! Ben Fatih Soysal ve bug\u00fcn JavaScript&#8217;te iterable (\u00f6rne\u011fin, diziler, Map&#8217;ler ve Set&#8217;ler) yap\u0131lar\u0131n\u0131z\u0131 nesnelere d\u00f6n\u00fc\u015ft\u00fcrmek i\u00e7in kullanabilece\u011finiz g\u00fc\u00e7l\u00fc bir metodu, <code>Object.fromEntries()<\/code> metodunu inceleyece\u011fiz.  Bu y\u00f6ntem, \u00f6zellikle verilerinizi daha d\u00fczenli ve eri\u015filebilir bir \u015fekilde y\u00f6netmeniz gerekti\u011finde olduk\u00e7a faydal\u0131d\u0131r.  \u00d6ncelikle, iterable kavram\u0131n\u0131 k\u0131saca hat\u0131rlayal\u0131m. Iterable&#8217;lar, d\u00f6ng\u00fclerle (\u00f6rne\u011fin, <code>for...of<\/code> d\u00f6ng\u00fcs\u00fc) elemanlar\u0131na s\u0131rayla eri\u015febildi\u011finiz yap\u0131lard\u0131r.  Diziler, Map&#8217;ler ve Set&#8217;ler en yayg\u0131n iterable \u00f6rnekleridir.  Peki, <code>Object.fromEntries()<\/code> bu iterable&#8217;lar\u0131 nas\u0131l nesnelere d\u00f6n\u00fc\u015ft\u00fcr\u00fcyor? Gelin, birlikte bakal\u0131m.<\/p>\n<h2>Object.fromEntries() Metodunun \u00c7al\u0131\u015fma Prensibi<\/h2>\n<p><code>Object.fromEntries()<\/code> metodu, bir iterable&#8217;\u0131 al\u0131r. Bu iterable&#8217;\u0131n her bir eleman\u0131, bir dizi olmal\u0131d\u0131r.  Bu dizinin ilk eleman\u0131 nesnenin anahtar\u0131n\u0131 (key), ikinci eleman\u0131 ise de\u011ferini (value) temsil eder.  Metod, bu key-value \u00e7iftlerini kullanarak yeni bir nesne olu\u015fturur.  \u015eimdi, birka\u00e7 \u00f6rnek ile daha iyi anlayal\u0131m.<\/p>\n<h3>\u00d6rnek 1: Diziyi Nesneye D\u00f6n\u00fc\u015ft\u00fcrme<\/h3>\n<p>Bir diziyi, her bir eleman\u0131n key-value \u00e7iftini temsil etti\u011fi bir nesneye d\u00f6n\u00fc\u015ft\u00fcrelim:<\/p>\n<pre><code class=\"language-javascript\">\nconst entries = [['name', 'Fatih'], ['age', 30], ['city', '\u0130stanbul']];\nconst obj = Object.fromEntries(entries);\nconsole.log(obj); \/\/ \u00c7\u0131kt\u0131: { name: 'Fatih', age: 30, city: '\u0130stanbul' }\n<\/code><\/pre>\n<p>G\u00f6rd\u00fc\u011f\u00fcn\u00fcz gibi, her dizi eleman\u0131 bir key-value \u00e7ifti olarak yeni nesnenin \u00f6zelliklerini olu\u015fturur.  Bu y\u00f6ntem olduk\u00e7a temiz ve okunabilir bir \u015fekilde nesne olu\u015fturmam\u0131z\u0131 sa\u011flar.<\/p>\n<h3>\u00d6rnek 2: Map&#8217;i Nesneye D\u00f6n\u00fc\u015ft\u00fcrme<\/h3>\n<p><code>Map<\/code> yap\u0131lar\u0131n\u0131 da ayn\u0131 \u015fekilde nesnelere d\u00f6n\u00fc\u015ft\u00fcrebiliriz. <code>Map<\/code> yap\u0131s\u0131 zaten key-value \u00e7iftlerinden olu\u015ftu\u011fu i\u00e7in, d\u00f6n\u00fc\u015f\u00fcm daha da kolayla\u015f\u0131r. <\/p>\n<pre><code class=\"language-javascript\">\nconst myMap = new Map([['a', 1], ['b', 2]]);\nconst myObj = Object.fromEntries(myMap);\nconsole.log(myObj); \/\/ \u00c7\u0131kt\u0131: { a: 1, b: 2 }\n<\/code><\/pre>\n<p>Bu \u00f6rnekte, <code>myMap<\/code>&#8216;in key-value \u00e7iftleri do\u011frudan <code>Object.fromEntries()<\/code> ile bir nesneye d\u00f6n\u00fc\u015ft\u00fcr\u00fclm\u00fc\u015ft\u00fcr. Sonu\u00e7 olarak,  <code>myObj<\/code> nesnesini elde ederiz.<\/p>\n<h3>\u00d6nemli Notlar<\/h3>\n<p><code>Object.fromEntries()<\/code> metodu, iterable&#8217;\u0131n her eleman\u0131n\u0131n iki elemanl\u0131 bir dizi olmas\u0131 gerekti\u011fini unutmamak \u00f6nemlidir. Aksi takdirde, hata al\u0131rs\u0131n\u0131z.  Ayr\u0131ca, anahtarlar (key&#8217;ler) benzersiz olmal\u0131d\u0131r. E\u011fer ayn\u0131 anahtara sahip birden fazla giri\u015f varsa, son giri\u015f ge\u00e7erli olur.<\/p>\n<h2>Object.fromEntries()&#8217;in Kullan\u0131m Alanlar\u0131<\/h2>\n<p><code>Object.fromEntries()<\/code> metodu, bir\u00e7ok farkl\u0131 senaryoda kullan\u0131labilir.  \u00d6rne\u011fin,  API&#8217;lerden gelen verileri i\u015flemek, form verilerini bir nesneye d\u00f6n\u00fc\u015ft\u00fcrmek veya  daha karma\u015f\u0131k veri yap\u0131lar\u0131yla \u00e7al\u0131\u015f\u0131rken verileri daha d\u00fczenli hale getirmek i\u00e7in kullan\u0131labilir.  Bu y\u00f6ntem, kodunuzun okunabilirli\u011fini ve bak\u0131m\u0131n\u0131 kolayla\u015ft\u0131r\u0131r.<\/p>\n<p>Daha fazla bilgi i\u00e7in <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Global_Objects\/Object\/fromEntries\" target=\"_blank\">MDN Object.fromEntries() d\u00f6k\u00fcman\u0131n\u0131<\/a> inceleyebilirsiniz.  JavaScript \u00f6\u011frenme yolculu\u011funuzda daha fazla bilgi ve kaynak i\u00e7in  <a href=\"https:\/\/fatihsoysal.com\" target=\"_blank\">fatihsoysal.com<\/a> sitesini ziyaret edebilirsiniz.<\/p>\n<p>#Etiketler: JavaScript, Object.fromEntries, Iterable, Nesne, Dizi, Map, D\u00f6n\u00fc\u015ft\u00fcrme, Programlama, Web Geli\u015ftirme<\/p>\n","protected":false},"excerpt":{"rendered":"JavaScript&#8217;te Object.fromEntries() ile \u0130terable&#8217;lar\u0131 Objelere D\u00f6n\u00fc\u015ft\u00fcrme Merhaba! Ben Fatih Soysal ve bug\u00fcn JavaScript&#8217;te iterable (\u00f6rne\u011fin, diziler, Map&#8217;ler ve&hellip;","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"csco_page_header_type":"","csco_page_load_nextpost":"","csco_page_subscribe_form":"","csco_page_contact_form":"","footnotes":""},"categories":[1],"tags":[],"class_list":{"0":"post-10292","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-genel","7":"cs-entry","8":"cs-video-wrap"},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v20.5 (Yoast SEO v25.3.1) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>JavaScript&#039;te Object.fromEntries() ile \u0130terable&#039;lar\u0131 Objelere D\u00f6n\u00fc\u015ft\u00fcrme<\/title>\n<meta name=\"description\" content=\"Merhaba! Ben Fatih Soysal ve bug\u00fcn JavaScript&#039;te iterable (\u00f6rne\u011fin, diziler, Map&#039;ler ve Set&#039;ler) yap\u0131lar\u0131n\u0131z\u0131 nesnelere d\u00f6n\u00fc\u015ft\u00fcrmek i\u00e7in kullanabilece\u011finiz g\u00fc\u00e7l\u00fc bir metodu, Object.fromEntries() metodunu inceleyece\u011fiz. Bu y\u00f6ntem, \u00f6zellikle verilerinizi daha d\u00fczenli ve eri\u015filebilir bir \u015fekilde y\u00f6netmeniz gerekti\u011finde olduk\u00e7a faydal\u0131d\u0131r. \u00d6ncelikle, iterable kavram\u0131n\u0131 k\u0131saca hat\u0131rlayal\u0131m. Iterable&#039;lar, d\u00f6ng\u00fclerle (\u00f6rne\u011fin, for...of d\u00f6ng\u00fcs\u00fc) elemanlar\u0131na s\u0131rayla eri\u015febildi\u011finiz yap\u0131lard\u0131r. Diziler, Map&#039;ler ve Set&#039;ler en yayg\u0131n iterable \u00f6rnekleridir. Peki, Object.fromEntries() bu iterable&#039;lar\u0131 nas\u0131l nesnelere d\u00f6n\u00fc\u015ft\u00fcr\u00fcyor? Gelin, birlikte bakal\u0131m.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/fatihsoysal.com\/blog\/javascriptte-object-fromentries-ile-iterablelari-objelere-donusturme\/\" \/>\n<meta property=\"og:locale\" content=\"tr_TR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"JavaScript&#039;te Object.fromEntries() ile \u0130terable&#039;lar\u0131 Objelere D\u00f6n\u00fc\u015ft\u00fcrme\" \/>\n<meta property=\"og:description\" content=\"Merhaba! Ben Fatih Soysal ve bug\u00fcn JavaScript&#039;te iterable (\u00f6rne\u011fin, diziler, Map&#039;ler ve Set&#039;ler) yap\u0131lar\u0131n\u0131z\u0131 nesnelere d\u00f6n\u00fc\u015ft\u00fcrmek i\u00e7in kullanabilece\u011finiz g\u00fc\u00e7l\u00fc bir metodu, Object.fromEntries() metodunu inceleyece\u011fiz. Bu y\u00f6ntem, \u00f6zellikle verilerinizi daha d\u00fczenli ve eri\u015filebilir bir \u015fekilde y\u00f6netmeniz gerekti\u011finde olduk\u00e7a faydal\u0131d\u0131r. \u00d6ncelikle, iterable kavram\u0131n\u0131 k\u0131saca hat\u0131rlayal\u0131m. Iterable&#039;lar, d\u00f6ng\u00fclerle (\u00f6rne\u011fin, for...of d\u00f6ng\u00fcs\u00fc) elemanlar\u0131na s\u0131rayla eri\u015febildi\u011finiz yap\u0131lard\u0131r. Diziler, Map&#039;ler ve Set&#039;ler en yayg\u0131n iterable \u00f6rnekleridir. Peki, Object.fromEntries() bu iterable&#039;lar\u0131 nas\u0131l nesnelere d\u00f6n\u00fc\u015ft\u00fcr\u00fcyor? Gelin, birlikte bakal\u0131m.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/fatihsoysal.com\/blog\/javascriptte-object-fromentries-ile-iterablelari-objelere-donusturme\/\" \/>\n<meta property=\"og:site_name\" content=\"Kodlar\u0131n Gizemli D\u00fcnyas\u0131\" \/>\n<meta property=\"article:published_time\" content=\"2025-01-22T04:30:10+00:00\" \/>\n<meta name=\"author\" content=\"Fatih Soysal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Yazan:\" \/>\n\t<meta name=\"twitter:data1\" content=\"Fatih Soysal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tahmini okuma s\u00fcresi\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 dakika\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/javascriptte-object-fromentries-ile-iterablelari-objelere-donusturme\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/javascriptte-object-fromentries-ile-iterablelari-objelere-donusturme\/\"},\"author\":{\"name\":\"Fatih Soysal\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"headline\":\"JavaScript&#8217;te Object.fromEntries() ile \u0130terable&#8217;lar\u0131 Objelere D\u00f6n\u00fc\u015ft\u00fcrme\",\"datePublished\":\"2025-01-22T04:30:10+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/javascriptte-object-fromentries-ile-iterablelari-objelere-donusturme\/\"},\"wordCount\":453,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/fatihsoysal.com\/blog\/javascriptte-object-fromentries-ile-iterablelari-objelere-donusturme\/#respond\"]}],\"copyrightYear\":\"2025\",\"copyrightHolder\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/javascriptte-object-fromentries-ile-iterablelari-objelere-donusturme\/\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/javascriptte-object-fromentries-ile-iterablelari-objelere-donusturme\/\",\"name\":\"JavaScript'te Object.fromEntries() ile \u0130terable'lar\u0131 Objelere D\u00f6n\u00fc\u015ft\u00fcrme\",\"isPartOf\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#website\"},\"datePublished\":\"2025-01-22T04:30:10+00:00\",\"description\":\"Merhaba! Ben Fatih Soysal ve bug\u00fcn JavaScript'te iterable (\u00f6rne\u011fin, diziler, Map'ler ve Set'ler) yap\u0131lar\u0131n\u0131z\u0131 nesnelere d\u00f6n\u00fc\u015ft\u00fcrmek i\u00e7in kullanabilece\u011finiz g\u00fc\u00e7l\u00fc bir metodu, Object.fromEntries() metodunu inceleyece\u011fiz. Bu y\u00f6ntem, \u00f6zellikle verilerinizi daha d\u00fczenli ve eri\u015filebilir bir \u015fekilde y\u00f6netmeniz gerekti\u011finde olduk\u00e7a faydal\u0131d\u0131r. \u00d6ncelikle, iterable kavram\u0131n\u0131 k\u0131saca hat\u0131rlayal\u0131m. Iterable'lar, d\u00f6ng\u00fclerle (\u00f6rne\u011fin, for...of d\u00f6ng\u00fcs\u00fc) elemanlar\u0131na s\u0131rayla eri\u015febildi\u011finiz yap\u0131lard\u0131r. Diziler, Map'ler ve Set'ler en yayg\u0131n iterable \u00f6rnekleridir. Peki, Object.fromEntries() bu iterable'lar\u0131 nas\u0131l nesnelere d\u00f6n\u00fc\u015ft\u00fcr\u00fcyor? Gelin, birlikte bakal\u0131m.\",\"breadcrumb\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/javascriptte-object-fromentries-ile-iterablelari-objelere-donusturme\/#breadcrumb\"},\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/fatihsoysal.com\/blog\/javascriptte-object-fromentries-ile-iterablelari-objelere-donusturme\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/javascriptte-object-fromentries-ile-iterablelari-objelere-donusturme\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Anasayfa\",\"item\":\"https:\/\/fatihsoysal.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"JavaScript&#8217;te Object.fromEntries() ile \u0130terable&#8217;lar\u0131 Objelere D\u00f6n\u00fc\u015ft\u00fcrme\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#website\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/\",\"name\":\"Fatihsoysal.com\",\"description\":\"Blog - Yaz\u0131l\u0131m D\u00fcnyas\u0131 Tecr\u00fcbelerim\",\"publisher\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/fatihsoysal.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"tr\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\",\"name\":\"Fatih Soysal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"tr\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png\",\"contentUrl\":\"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png\",\"width\":512,\"height\":512,\"caption\":\"Fatih Soysal\"},\"logo\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/\"},\"description\":\"Kullan\u0131m ve kodlama m\u00fckemmeliyetini odak alan uygulamalar olu\u015fturma deneyimine sahip, profesyonel olarak 15+ y\u0131l \u00fczeri deneyime sahip bir yaz\u0131l\u0131m m\u00fchendisi.\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/author\/fatihsoysal\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"JavaScript'te Object.fromEntries() ile \u0130terable'lar\u0131 Objelere D\u00f6n\u00fc\u015ft\u00fcrme","description":"Merhaba! Ben Fatih Soysal ve bug\u00fcn JavaScript'te iterable (\u00f6rne\u011fin, diziler, Map'ler ve Set'ler) yap\u0131lar\u0131n\u0131z\u0131 nesnelere d\u00f6n\u00fc\u015ft\u00fcrmek i\u00e7in kullanabilece\u011finiz g\u00fc\u00e7l\u00fc bir metodu, Object.fromEntries() metodunu inceleyece\u011fiz. Bu y\u00f6ntem, \u00f6zellikle verilerinizi daha d\u00fczenli ve eri\u015filebilir bir \u015fekilde y\u00f6netmeniz gerekti\u011finde olduk\u00e7a faydal\u0131d\u0131r. \u00d6ncelikle, iterable kavram\u0131n\u0131 k\u0131saca hat\u0131rlayal\u0131m. Iterable'lar, d\u00f6ng\u00fclerle (\u00f6rne\u011fin, for...of d\u00f6ng\u00fcs\u00fc) elemanlar\u0131na s\u0131rayla eri\u015febildi\u011finiz yap\u0131lard\u0131r. Diziler, Map'ler ve Set'ler en yayg\u0131n iterable \u00f6rnekleridir. Peki, Object.fromEntries() bu iterable'lar\u0131 nas\u0131l nesnelere d\u00f6n\u00fc\u015ft\u00fcr\u00fcyor? Gelin, birlikte bakal\u0131m.","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:\/\/fatihsoysal.com\/blog\/javascriptte-object-fromentries-ile-iterablelari-objelere-donusturme\/","og_locale":"tr_TR","og_type":"article","og_title":"JavaScript'te Object.fromEntries() ile \u0130terable'lar\u0131 Objelere D\u00f6n\u00fc\u015ft\u00fcrme","og_description":"Merhaba! Ben Fatih Soysal ve bug\u00fcn JavaScript'te iterable (\u00f6rne\u011fin, diziler, Map'ler ve Set'ler) yap\u0131lar\u0131n\u0131z\u0131 nesnelere d\u00f6n\u00fc\u015ft\u00fcrmek i\u00e7in kullanabilece\u011finiz g\u00fc\u00e7l\u00fc bir metodu, Object.fromEntries() metodunu inceleyece\u011fiz. Bu y\u00f6ntem, \u00f6zellikle verilerinizi daha d\u00fczenli ve eri\u015filebilir bir \u015fekilde y\u00f6netmeniz gerekti\u011finde olduk\u00e7a faydal\u0131d\u0131r. \u00d6ncelikle, iterable kavram\u0131n\u0131 k\u0131saca hat\u0131rlayal\u0131m. Iterable'lar, d\u00f6ng\u00fclerle (\u00f6rne\u011fin, for...of d\u00f6ng\u00fcs\u00fc) elemanlar\u0131na s\u0131rayla eri\u015febildi\u011finiz yap\u0131lard\u0131r. Diziler, Map'ler ve Set'ler en yayg\u0131n iterable \u00f6rnekleridir. Peki, Object.fromEntries() bu iterable'lar\u0131 nas\u0131l nesnelere d\u00f6n\u00fc\u015ft\u00fcr\u00fcyor? Gelin, birlikte bakal\u0131m.","og_url":"https:\/\/fatihsoysal.com\/blog\/javascriptte-object-fromentries-ile-iterablelari-objelere-donusturme\/","og_site_name":"Kodlar\u0131n Gizemli D\u00fcnyas\u0131","article_published_time":"2025-01-22T04:30:10+00:00","author":"Fatih Soysal","twitter_card":"summary_large_image","twitter_misc":{"Yazan:":"Fatih Soysal","Tahmini okuma s\u00fcresi":"3 dakika"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/fatihsoysal.com\/blog\/javascriptte-object-fromentries-ile-iterablelari-objelere-donusturme\/#article","isPartOf":{"@id":"https:\/\/fatihsoysal.com\/blog\/javascriptte-object-fromentries-ile-iterablelari-objelere-donusturme\/"},"author":{"name":"Fatih Soysal","@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"headline":"JavaScript&#8217;te Object.fromEntries() ile \u0130terable&#8217;lar\u0131 Objelere D\u00f6n\u00fc\u015ft\u00fcrme","datePublished":"2025-01-22T04:30:10+00:00","mainEntityOfPage":{"@id":"https:\/\/fatihsoysal.com\/blog\/javascriptte-object-fromentries-ile-iterablelari-objelere-donusturme\/"},"wordCount":453,"commentCount":0,"publisher":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"inLanguage":"tr","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/fatihsoysal.com\/blog\/javascriptte-object-fromentries-ile-iterablelari-objelere-donusturme\/#respond"]}],"copyrightYear":"2025","copyrightHolder":{"@id":"https:\/\/fatihsoysal.com\/blog\/#organization"}},{"@type":"WebPage","@id":"https:\/\/fatihsoysal.com\/blog\/javascriptte-object-fromentries-ile-iterablelari-objelere-donusturme\/","url":"https:\/\/fatihsoysal.com\/blog\/javascriptte-object-fromentries-ile-iterablelari-objelere-donusturme\/","name":"JavaScript'te Object.fromEntries() ile \u0130terable'lar\u0131 Objelere D\u00f6n\u00fc\u015ft\u00fcrme","isPartOf":{"@id":"https:\/\/fatihsoysal.com\/blog\/#website"},"datePublished":"2025-01-22T04:30:10+00:00","description":"Merhaba! Ben Fatih Soysal ve bug\u00fcn JavaScript'te iterable (\u00f6rne\u011fin, diziler, Map'ler ve Set'ler) yap\u0131lar\u0131n\u0131z\u0131 nesnelere d\u00f6n\u00fc\u015ft\u00fcrmek i\u00e7in kullanabilece\u011finiz g\u00fc\u00e7l\u00fc bir metodu, Object.fromEntries() metodunu inceleyece\u011fiz. Bu y\u00f6ntem, \u00f6zellikle verilerinizi daha d\u00fczenli ve eri\u015filebilir bir \u015fekilde y\u00f6netmeniz gerekti\u011finde olduk\u00e7a faydal\u0131d\u0131r. \u00d6ncelikle, iterable kavram\u0131n\u0131 k\u0131saca hat\u0131rlayal\u0131m. Iterable'lar, d\u00f6ng\u00fclerle (\u00f6rne\u011fin, for...of d\u00f6ng\u00fcs\u00fc) elemanlar\u0131na s\u0131rayla eri\u015febildi\u011finiz yap\u0131lard\u0131r. Diziler, Map'ler ve Set'ler en yayg\u0131n iterable \u00f6rnekleridir. Peki, Object.fromEntries() bu iterable'lar\u0131 nas\u0131l nesnelere d\u00f6n\u00fc\u015ft\u00fcr\u00fcyor? Gelin, birlikte bakal\u0131m.","breadcrumb":{"@id":"https:\/\/fatihsoysal.com\/blog\/javascriptte-object-fromentries-ile-iterablelari-objelere-donusturme\/#breadcrumb"},"inLanguage":"tr","potentialAction":[{"@type":"ReadAction","target":["https:\/\/fatihsoysal.com\/blog\/javascriptte-object-fromentries-ile-iterablelari-objelere-donusturme\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/fatihsoysal.com\/blog\/javascriptte-object-fromentries-ile-iterablelari-objelere-donusturme\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Anasayfa","item":"https:\/\/fatihsoysal.com\/blog\/"},{"@type":"ListItem","position":2,"name":"JavaScript&#8217;te Object.fromEntries() ile \u0130terable&#8217;lar\u0131 Objelere D\u00f6n\u00fc\u015ft\u00fcrme"}]},{"@type":"WebSite","@id":"https:\/\/fatihsoysal.com\/blog\/#website","url":"https:\/\/fatihsoysal.com\/blog\/","name":"Fatihsoysal.com","description":"Blog - Yaz\u0131l\u0131m D\u00fcnyas\u0131 Tecr\u00fcbelerim","publisher":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/fatihsoysal.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"tr"},{"@type":["Person","Organization"],"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1","name":"Fatih Soysal","image":{"@type":"ImageObject","inLanguage":"tr","@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png","contentUrl":"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png","width":512,"height":512,"caption":"Fatih Soysal"},"logo":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/"},"description":"Kullan\u0131m ve kodlama m\u00fckemmeliyetini odak alan uygulamalar olu\u015fturma deneyimine sahip, profesyonel olarak 15+ y\u0131l \u00fczeri deneyime sahip bir yaz\u0131l\u0131m m\u00fchendisi.","url":"https:\/\/fatihsoysal.com\/blog\/author\/fatihsoysal\/"}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/10292","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/comments?post=10292"}],"version-history":[{"count":0,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/10292\/revisions"}],"wp:attachment":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/media?parent=10292"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/categories?post=10292"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/tags?post=10292"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}