---
title: "Discussion on \"JavaScript Interview Preparation Cheatsheet\" | Hashnode"
description: "Discussion on \"JavaScript Interview Preparation Cheatsheet\". What is Scope in JavaScript?\nIn programming, the scope is the extent of the visibility of a variable or function. It decides what other pieces of code can see it. If a variable is scoped within a function, only the function can access it. If a variab..."
url: "https://hashnode.com/posts/javascript-interview-preparation-cheatsheet/631de382f73f4734bc0577f3"
---

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

Discussion

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

What is Scope in JavaScript? In programming, the scope is the extent of the visibility of a variable or function. It decides what other pieces of code can see it. If a variable is scoped within a function, only the function can access it. If a variab...

Sep 11, 2022 · 7 min read · akshay711.hashnode.dev  
Read the article

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

## Written by

[Akshay Kokode](https://hashnode.com/@akshay711)

@akshay711

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

## Responses

Comments are turned off for this post.
