---
title: "Discussion on \"JavaScript Interview Cheatsheet\" | Hashnode"
description: "Discussion on \"JavaScript Interview Cheatsheet\". Scope\nWhat is scope?\nIn simple terms, scope is nothing but a piece of area in our code where a variable is accessible to us.\nTypes of scope:\n\nGlobal scope\n\nBlock scope\n\nFunction scope or local scope\n\n\nLet's go through each of this type.\nGlobal Scope:..."
url: "https://hashnode.com/posts/javascript-interview-cheatsheet/631cb5603e8d6f3497ad38a3"
---

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

Discussion

# [JavaScript Interview Cheatsheet](https://arunblogs.hashnode.dev/javascript-interview-cheatsheet?utm_source=hashnode&utm_medium=feed)

Scope What is scope? In simple terms, scope is nothing but a piece of area in our code where a variable is accessible to us. Types of scope: Global scope Block scope Function scope or local scope Let's go through each of this type. Global Scope:...

Sep 10, 2022 · 5 min read · arunblogs.hashnode.dev  
Updated Jan 27, 2024  
Read the article

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

## Written by

[Arun kumar Nepa](https://hashnode.com/@arunkumarnepa)

@arunkumarnepa

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
