일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 | 31 |
- bitcoin
- built in object
- web
- evm
- useState
- tailwindcss
- blockchain
- graphQL
- Props
- REACT
- Redux
- SSR
- CSS
- Ethereum
- error
- nextJS
- express.js
- 기준
- node.js
- 삶
- Interface
- JavaScript
- solidity
- HTML
- concept
- typeScript
- hardhat
- CLASS
- middleware
- API
- Today
- Total
목록JavaScript (53)
ReasonJun
A closure is a fundamental concept in JavaScript that allows a function to retain access to variables from its outer (enclosing) lexical scope even after the outer function has finished executing. In simpler terms, a closure is a combination of a function and the lexical environment within which that function was declared. To understand closures, it's important to grasp the concept of lexical sc..
Object.create() Object.create() is a static method in JavaScript that creates a new object with the specified prototype object and properties. It allows you to create an object and explicitly set its prototype. The basic syntax for using Object.create() is as follows: Object.create(proto, [propertiesObject]) proto: The object that will be the prototype of the newly created object. It can be null..
In JavaScript, "instance-level functions" and "prototype-level functions" are two ways to define and access functions within objects. These concepts are related to the object's prototype chain and how functions are shared among instances of objects. Instance-Level Functions: Instance-level functions, also known as "own functions" or "own methods," are functions defined directly on an individual ..
In JavaScript, the prototype is an internal property of objects that allows objects to inherit properties and methods from other objects. Every JavaScript object has a prototype, except for the base object Object.prototype, which is the ultimate prototype for all objects. The prototype forms the basis for JavaScript's prototype-based inheritance model. When you access a property or method on an ..
Scope In JavaScript, the term "scope" refers to the context in which variables, functions, and objects are declared and accessed. It determines the visibility and lifetime of variables and the availability of functions and objects in different parts of your code. JavaScript has function scope and block scope: Function Scope: Variables declared inside a function are locally scoped, meaning they a..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/evpUnu/btsiJy0t1ly/qt6JmiBlokqeVqxir5SMMK/img.png)
Only one call stack can be executed at a time. To use it asynchronously, you must use the Web API. So, if you throw the desired callback function to this API, it performs asynchronous work internally, and when it is finished, the callback function is put in the Task Queue. After that, the event loop of the javascript engine monitors the call stack and task queue, and only when the call stack is ..