{"blog_title":"blog","title":"JavaScript forEach\u3081\u3082","provider_name":"Hatena Blog","author_name":"tako_eng","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftako-eng.hatenablog.com%2Fentry%2F2020%2F04%2F07%2F070000\" title=\"JavaScript forEach\u3081\u3082 - blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"height":"190","provider_url":"https://hatena.blog","version":"1.0","width":"100%","published":"2020-04-07 07:00:00","type":"rich","categories":["\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0(JavaScript)"],"url":"https://tako-eng.hatenablog.com/entry/2020/04/07/070000","blog_url":"https://tako-eng.hatenablog.com/","author_url":"https://blog.hatena.ne.jp/tako_eng/","description":"forEach\u3081\u3082 'use strict'; { const scores = [10, 20, 30, 40 ]; scores.forEach((score, index) =>{ console.log(`Score: ${index}:${score}`); }); } // \u5b9f\u884c\u7d50\u679c Score: 0:10 Score: 1:20 Score: 2:30 Score: 3:40 \u3042\u308b\u3060\u3051\u30d6\u30f3\u56de\u3059\u307f\u305f\u3044\u306a\u611f\u3058\u304b\u3002 python\u306e\u3068\u304d\u306fforEach\u306a\u304b\u3063\u305f\u3088\u3046\u306a...\u3068\u601d\u3063\u305f\u3089\u3001python\u3067\u306ffor\u6587\u3067\u540c\u3058\u3088\u3046\u306a\u52d5\u304d\u304c\u3067\u304d\u305f\u3093\u3060\u3063\u305f\u3002\u3059\u3050\u5fd8\u308c\u3061\u3083\u3046\u306d\ud83d\udca6"}