---
title: "Discussion on \"Loops in javascript\" | Hashnode"
description: "Discussion on \"Loops in javascript\". for loop:\n\nSingle for loop: Below is the syntax of a for loop with the example of skipping the even numbers and printing the odd numbers between 1 to 10.\n for (let i = 0; i <=10; i++) {\n     const element = i;\n     if (element%2==0) {\n         contin..."
url: "https://hashnode.com/posts/loops-in-javascript/6554ec38615d75d5a53a26ce"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Loops in javascript](https://udayraj.sawant.com/loops-in-javascript?utm_source=hashnode&utm_medium=feed)

for loop: Single for loop: Below is the syntax of a for loop with the example of skipping the even numbers and printing the odd numbers between 1 to 10. for (let i = 0; i <=10; i++) { const element = i; if (element%2==0) { contin...

Nov 15, 2023 · 3 min read · udayraj.sawant.com  
Read the article

-   [#web-development](https://hashnode.com/tag/web-development)
-   [#webdev](https://hashnode.com/tag/webdev)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#100daysofcode](https://hashnode.com/tag/100daysofcode)

## Written by

[Udayraj Sawant](https://hashnode.com/@uday216)

@uday216

  
[View profile](https://hashnode.com/@uday216)

Dev aspirant

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
