---
title: "Discussion on \"JavaScript Guess the Output: মজার কিছু ধাঁধা! 🚀\" | Hashnode"
description: "Discussion on \"JavaScript Guess the Output: মজার কিছু ধাঁধা! 🚀\". Javascript frontend interview questions"
url: "https://hashnode.com/posts/javascript-guess-the-output/67dd9bd160d64c65db50aead"
---

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

Discussion

# [JavaScript Guess the Output: মজার কিছু ধাঁধা! 🚀](https://joydip.hashnode.dev/javascript-guess-the-output?utm_source=hashnode&utm_medium=feed)

Javascript frontend interview questions

Mar 21, 2025 · 2 min read · joydip.hashnode.dev  
Read the article

-   [#jsquiz](https://hashnode.com/tag/jsquiz)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#frontend-development](https://hashnode.com/tag/frontend-development)
-   [#questions-and-answers](https://hashnode.com/tag/questions-and-answers)
-   [#js](https://hashnode.com/tag/js)
-   [#interview-questions](https://hashnode.com/tag/interview-questions)
-   [#programming](https://hashnode.com/tag/programming)

## Written by

[Joydip Paul](https://hashnode.com/@Joydippaul)

@Joydippaul · Sylhet, Bangladesh

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

Web developer

Hello, This is Joydip Paul from Bangladesh. I have pursued a B.Sc. in computer science. At this moment in time, I am working as a web designer at yotech.ltd. In my leisure period usually, I do painting and sketching. I never give up until I get something right and, I am a lifetime learner.

## Responses 1

Markdown supported · ⌘↵ to post

[Habibur Rahman](https://hashnode.com/@dev-habib)

[Nov 21, 2025](https://hashnode.com/posts/javascript-guess-the-output/67dd9bd160d64c65db50aead/comment/69203f33bf2302ee3aab747d)

That's a great example showing the block scope of `let`! Adding a parallel example using `var` in the same `if` block would be really helpful. It would clearly show the difference between block-scoped (`let`) and function-scoped (`var`), making the concept of scope much clearer for beginners. 👍
