일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- evm
- tailwindcss
- built in object
- blockchain
- useState
- express.js
- error
- 삶
- concept
- hardhat
- bitcoin
- Ethereum
- middleware
- 기준
- REACT
- web
- Props
- HTML
- API
- Redux
- graphQL
- nextJS
- Interface
- CSS
- CLASS
- SSR
- typeScript
- solidity
- JavaScript
- node.js
- Today
- Total
목록Frontend (231)
ReasonJun
The DOM (Document Object Model) API in JavaScript provides a way to interact with HTML and XML documents. It represents the structure of a document as a tree-like structure, where each node in the tree corresponds to a part of the document, such as elements, attributes, text, etc. The DOM API allows you to manipulate the structure, content, and styling of web documents dynamically. Here are some..
// this binding // 'this' is dynamically determined by the caller! function Hello(name) { this.name = name; this.printName = function () { console.log(`My name is ${this.name}`); }; } function YourName(name) { this.name = name; this.printName = function () { console.log(`Your name is ${this.name}`); }; } const youjun = new Hello('youjun'); const neo = new YourName('neo'); youjun.printName(); // ..
In JavaScript, the this keyword refers to the context in which a function is executed. It is a special keyword that provides a reference to the object on which a method or function is being invoked. The value of this is determined dynamically at runtime based on how a function is called, rather than being lexically bound during the function's definition. The behavior of this depends on the invoc..
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 ..