# নাল (Null)

**নালঃ-** নাল হলো জাভাস্ক্রিপ্টের একটি বিশেষ ডাটা টাইপ । যার সত্যিকারের টাইপ হচ্ছে অব্জেক্ট। কিন্তু null object এর ভ্যালু কিন্তু null.&#x20;

```javascript
console.log(typeof null)
```

output:

```javascript
object
```

null অ্যাসাইন করতে হয়। নাল নিজে নিজে অ্যাসাইন হয় না । নাল এর অর্থ হচ্চে এইখানে কোন ভ্যালু আছে কিন্তু এইমুহুর্তে খালি আছে। অর্থাৎ এইটা কোন পরিবর্তনশীল ডাটা কে বুঝাচ্ছে।&#x20;

উদাহরন স্বরূপ বলা যায় আপনি ডাটাবেজ থেকে ডাটা ফেচ করলে মাঝে মাঝে ডাটা থাকতেও পারে আবার নাও থাকতে পারে, আর না থাকলে সেইটা নাল হবে মানে এই মুহুর্তে খালি আছে কিন্তু সবসময় খালি নয় ।&#x20;

সুতরাং বলা যায় নাল পরিবর্তনশীল value এর জন্য ব্যবহৃত হয়ে থাকে।

```javascript
const num = null;
console.log(num);
```

output:

```javascript
null
```

তারমানে নাল এর ভ্যালু এখানে নাল । তার মানে কেউ যদি আপনার থেকে জিজ্ঞাসা করে নাল এর ভ্যালু কি আপনি বলতে পারবেন নাল এর ভ্যালু নাল আর কিছু না ।


---

# 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/datatype/premitive-data-type/null.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.
