---
title: "Discussion on \"JavaScript Interview Preparation Cheat sheet\" | Hashnode"
description: "Discussion on \"JavaScript Interview Preparation Cheat sheet\". Scope In JS\nlet a=4;\nconsole.log(a);\n\nIn the above code snippet we haven't used any { } to write the code but does this mean that we are not using any scope here NO! code is actually executed in the global execution context.\nThe scope is the current ..."
url: "https://hashnode.com/posts/javascript-interview-preparation-cheat-sheet/631decc33e8d6f3497ad6829"
---

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

Discussion

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

Scope In JS let a=4; console.log(a); In the above code snippet we haven't used any { } to write the code but does this mean that we are not using any scope here NO! code is actually executed in the global execution context. The scope is the current ...

Sep 11, 2022 · 4 min read · aravindontagodi.hashnode.dev  
Read the article

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

## Written by

[Aravind Ontagodi](https://hashnode.com/@Aravind104)

@Aravind104 · India

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

Software Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
