일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- JavaScript
- error
- graphQL
- hardhat
- evm
- concept
- nextJS
- built in object
- Interface
- middleware
- SSR
- HTML
- Ethereum
- 기준
- Props
- solidity
- typeScript
- web
- API
- useState
- REACT
- node.js
- express.js
- blockchain
- Redux
- bitcoin
- 삶
- CSS
- tailwindcss
- CLASS
- Today
- Total
목록Data Type (2)
ReasonJun
Solidity has two main types of data types: value types and reference types. Value types are stored directly in the memory of the Ethereum Virtual Machine (EVM). When a value type variable is assigned to another variable, a copy of the value is created. This means that changes to one variable will not affect the other variable. Reference types are stored in a separate memory location and contain ..
Memory stack : function/order of execution heap: where objects are stored Data type javascript Primitive - immutable : Boolean, String, Number, null, undefined, Symbol Reference - mutable : Object, Array Basically, javascript uses call stack memory space to store references and values for primitive types, but uses a separate memory space called Heap for reference types. In this case, the call st..