일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- express.js
- API
- 기준
- error
- 삶
- blockchain
- bitcoin
- Interface
- Props
- nextJS
- concept
- CSS
- JavaScript
- Ethereum
- evm
- SSR
- useState
- graphQL
- middleware
- web
- solidity
- node.js
- hardhat
- HTML
- built in object
- typeScript
- Redux
- CLASS
- tailwindcss
- REACT
- Today
- Total
목록function (2)
ReasonJun
// SPDX-License-Identifier: MIT pragma solidity >= 0.7.0 < 0.9.0; contract Ex1 { uint public a = 3; uint public b = 5; function myBlock() public returns (uint, uint){ a = 99; b = 0; return(a, b); } function myBlcok2(uint c) public { a = c; } function myBlock3() public pure returns(uint age, uint weight) { age = 20; weight = 55; } function getValue(uint e) public pure returns (uint) { return e; }..
function declaration // function declaration function hello() { console.log('hello'); } hello(); // hello console.log(hello); // [Function: hello] console.log(typeof hello()); // undefined function getNumber() { return 123; } console.log(typeof getNumber); // function console.log(typeof getNumber()); // number // function expression const a = function () { console.log('A'); }; const b = function..