일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- JavaScript
- evm
- node.js
- Interface
- bitcoin
- tailwindcss
- SSR
- middleware
- Props
- error
- graphQL
- web
- CLASS
- blockchain
- HTML
- CSS
- Redux
- API
- 기준
- 삶
- built in object
- useState
- solidity
- express.js
- hardhat
- nextJS
- typeScript
- REACT
- Ethereum
- concept
- 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..