일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- hardhat
- HTML
- Props
- bitcoin
- 기준
- web
- solidity
- evm
- concept
- tailwindcss
- useState
- nextJS
- JavaScript
- express.js
- Redux
- middleware
- error
- CLASS
- blockchain
- CSS
- Interface
- Ethereum
- REACT
- SSR
- typeScript
- API
- built in object
- node.js
- 삶
- graphQL
- Today
- Total
목록Method (3)
ReasonJun
Solidity is an object-oriented programming language, which means that it supports the concepts of classes, objects, and methods. Class A class is a blueprint for creating objects. It defines the structure and behavior of objects. A class can contain state variables, functions, and other classes. Object An object is an instance of a class. It has the state variables and functions defined in the c..
// 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(); // ..
declaration method built-in way inline method Link method ⇒ Parallel method import method @import url("./box.css"); css selector basic // Universal Selector * { color: red; } // Type Selector li { color: red; } // Class Selector .orange { color: red; } // ID Selector #orange { color: red; } complex // Basic Combinator span.orange{ color: red; } // Child Combinator ul > .orange { color: red; } //..