question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Typo error Basic JavaScript: Do while loops

See original GitHub issue

Basic JavaScript: Iterate with JavaScript Do…While Loops The next type of loop you will learn is called a do…while loop. It is called a do…while loop because it will first do one pass

I think it should be part

Link to the page with the problem: https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/basic-javascript/iterate-with-javascript-do---while-loops

Recommended fix, suggestions: The next type of loop you will learn is called a do…while loop. It is called a do…while loop because it will first do one part …

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
naomi-lgbtcommented, Dec 21, 2020

Thank you for reporting this issue.

This is a standard message notifying you that this issue has been triaged and we have determined that there is no need for a fix at this time. As such, we are going to close this issue.

If you think we’re wrong in closing this issue, please request for it to be reopened and add further clarification. Thank you and happy coding

1reaction
RandellDawsoncommented, Dec 20, 2020

The word "part` does not really fit here. “pass” is definitely a better choice than “part”. A “part” of something is a “piece” of something, which does not mean the same thing as “pass”. The word “iteration” might be possible, but “pass” still fits the sentence better. We could change the word “do” to “make” which could help though (as below).

The next type of loop you will learn is called a do…while loop. It is called a do…while loop because it will first make one pass…

Another word could be to use “execute” with “iteration”:

The next type of loop you will learn is called a do…while loop. It is called a do…while loop because it will first execute one iteration…

I still personally would not change the sentence, but let’s hear from some others, before making a final decision.

Read more comments on GitHub >

github_iconTop Results From Across the Web

do...while - JavaScript - MDN Web Docs - Mozilla
A statement that is executed at least once and is re-executed each time the condition evaluates to true. To execute multiple statements within...
Read more >
JavaScript while and do...while Loop (with Examples)
A while loop evaluates the condition inside the parenthesis () . · If the condition evaluates to true , the code inside the...
Read more >
JavaScript do...while Loop with Practical Examples
This tutorial shows you how to use JavaScript do...while statement to create a loop that executes a block until a condition is false....
Read more >
LOOPS, CONDITIONALS AND ERROR HANDLING IN ...
The JavaScript do while loop iterates the elements for the infinite number of times like while loop. But, code is executed at least...
Read more >
Using While Loops and Do...While Loops in JavaScript
The while and do...while statements in JavaScript are similar to conditional statements, which are blocks of code that will execute if a ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found