---
title: "Discussion on \"JavaScript Interview Preparation Cheat sheet\" | Hashnode"
description: "Discussion on \"JavaScript Interview Preparation Cheat sheet\". All about scope\nScope\nScope defines the lifetime and visibility of a variable. Variables are not visible outside the scope in which they are declared.\nType of Scope JavaScript has\nJavaScript has module scope, function scope, block scope, lexical scop..."
url: "https://hashnode.com/posts/javascript-interview-preparation-cheat-sheet/631c9d243e8d6f3497ad3427"
---

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

Discussion

# [JavaScript Interview Preparation Cheat sheet](https://princekr-paswan.hashnode.dev/javascript-interview-preparation-cheat-sheet?utm_source=hashnode&utm_medium=feed)

All about scope Scope Scope defines the lifetime and visibility of a variable. Variables are not visible outside the scope in which they are declared. Type of Scope JavaScript has JavaScript has module scope, function scope, block scope, lexical scop...

Sep 10, 2022 · 6 min read · princekr-paswan.hashnode.dev  
Read the article

-   [#iwritecode-hiteshchoudhary-lco-markdown-git-github](https://hashnode.com/tag/iwritecode-hiteshchoudhary-lco-markdown-git-github)
-   [#iwritecode](https://hashnode.com/tag/iwritecode)

## Written by

[PrinceKr-Paswan](https://hashnode.com/@PrinceKr)

@PrinceKr

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

Learn with me

## Responses 1

Markdown supported · ⌘↵ to post

[Karan Meghe](https://hashnode.com/@karnMeghe)

[Sep 11, 2022](https://hashnode.com/posts/javascript-interview-preparation-cheat-sheet/631c9d243e8d6f3497ad3427/comment/631d81aef73f4734bc05667a)

Nice one !!
