# লুপ এবং ইটারেশন(Loop & Iteration)

**লুপঃ** লুপ বিষয়টার মানে ঘুরতে থাকা। প্রোগ্রামিং লুপ শিখা টা একটা গুরুত্ব পূর্ন বিষয়। ডাটা নিয়ে কাজ করতে গেলেই লুপের প্রয়োজন পরে । লুপ দিয়ে যেকোনো বিগ বিগ ডাটাকে খুব সহজেই নিয়ন্ত্রণ করা যায়। জাভাস্ক্রিপ্টে লুপ পাঁচ প্রকার।

```javascript
1. for loop
2. while loop
3. do while loop
4. for in loop
5. for of loop
```

**ইটারেশনঃ** জাভাস্ক্রিপ্টে ইটারেশন জিনিস টা হচ্ছে একটা হাইয়ার অর্ডার ফাংশন। এই ফাংশন গুলো ব্যাবহার করে আমরা বিভন্নভাবে অ্যারে বা অবজেক্ট কে কাজে লাগায় বা পরিবর্তন করি।&#x20;

এগুলো হচ্ছেঃ&#x20;

1. map
2. filter
3. find
4. reduce
5. forEach
6. each
7. every
8. some
9. flatMap
10. flat
11. reduceRight
12. reduceLeft


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://nipu.gitbook.io/coding-js/13-loop.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
