---
title: "Discussion on \"JavaScript Interview Question Cheatsheet\" | Hashnode"
description: "Discussion on \"JavaScript Interview Question Cheatsheet\". 1. Scope:\n\nGlobal Scope:\nThe global scope includes any variable that is not contained within a function or block (a pair of curly braces). Global scope variables can be accessed from anywhere in the program. \n\n\nLocal Scope:\nVariables declared inside ..."
url: "https://hashnode.com/posts/javascript-interview-question-cheatsheet/631cebeff73f4734bc055508"
---

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

Discussion

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

1\. Scope: Global Scope: The global scope includes any variable that is not contained within a function or block (a pair of curly braces). Global scope variables can be accessed from anywhere in the program. Local Scope: Variables declared inside ...

Sep 10, 2022 · 3 min read · markdown-cheatsheet.hashnode.dev  
Read the article

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

## Written by

[Zainab Mustufa](https://hashnode.com/@mustufa920)

@mustufa920

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

JavaScript

## Responses 1

Markdown supported · ⌘↵ to post

[Al - Naubit](https://hashnode.com/@naubit)

[Sep 10, 2022](https://hashnode.com/posts/javascript-interview-question-cheatsheet/631cebeff73f4734bc055508/comment/631cef813e8d6f3497ad4395)

Thanks, it was a good read, bookmarked, and followed!
