<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/ZcGWApzqO" -->

---
title: I can't write a JavaScript for loop, and it does not matter
description: I've been using JavaScript daily for 7 years, and I'm not able to remember the syntax of a JavaScript for loop. Despite this fact, I'm a rather successful...
canonical: https://daily.dev/posts/i-can-t-write-a-javascript-for-loop-and-it-does-not-matter-zcgwapzqo
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: I can't write a JavaScript for loop, and it does not matter | daily.dev
og:description: I've been using JavaScript daily for 7 years, and I'm not able to remember the syntax of a JavaScript for loop. Despite this fact, I'm a rather successful...
og:url: https://daily.dev/posts/i-can-t-write-a-javascript-for-loop-and-it-does-not-matter-zcgwapzqo
og:image: https://api.daily.dev/og/posts/ZcGWApzqO.png
og:image:alt: I can't write a JavaScript for loop, and it does not matter
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# I can't write a JavaScript for loop, and it does not matter

**[Hashnode](https://daily.dev/sources/hashnode)** · 8 min read · 30 upvotes · 0 comments

## Summary

I've been using JavaScript daily for 7 years, and I'm not able to remember the syntax of a JavaScript for loop. Despite this fact, I'm a rather successful freelance developer. Recently I worked for Facebook, as the Docusaurus lead maintainer, writing the code for the framework that powers Babel, Prettier, Jest, ReactNative...

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://daily.sebastienlorber.com/i-cant-write-a-javascript-for-loop-and-it-does-not-matter-ckfrzpby8004iv6s19cxq04vj>

---

Tags: [#general-programming](https://daily.dev/tags/general-programming), [#javascript](https://daily.dev/tags/javascript)

[View this post on daily.dev](https://daily.dev/posts/i-can-t-write-a-javascript-for-loop-and-it-does-not-matter-zcgwapzqo)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"I can't write a JavaScript for loop, and it does not matter","url":"https://daily.dev/posts/i-can-t-write-a-javascript-for-loop-and-it-does-not-matter-zcgwapzqo","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/i-can-t-write-a-javascript-for-loop-and-it-does-not-matter-zcgwapzqo"},"datePublished":"2020-10-02T11:32:49.792Z","dateModified":"2021-10-07T14:17:10.317Z","description":"I've been using JavaScript daily for 7 years, and I'm not able to remember the syntax of a JavaScript for loop. Despite this fact, I'm a rather successful...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a5d193f182c7b5f8e6bd4b60c9d89430","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a5d193f182c7b5f8e6bd4b60c9d89430","isAccessibleForFree":true,"articleSection":"Hashnode","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Hashnode","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/4a287b2e7cb5499bae863f8e7137cdb4","url":"https://daily.dev/sources/hashnode"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/i-can-t-write-a-javascript-for-loop-and-it-does-not-matter-zcgwapzqo","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":30},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"general-programming,javascript","timeRequired":"PT8M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Hashnode","item":"https://daily.dev/sources/hashnode"},{"@type":"ListItem","position":3,"name":"I can't write a JavaScript for loop, and it does not matter"}]}
```

