ES6 ๐ย ES7 ๐ย ES8
์ฐจ์ธ๋ JavaScript ์์ฝ
JS Array functions
let ๐ย const
- let, const ๊ถ์ฅ
- let : ์์ ํ ์ ์๋ ๋ณ์
- const : ์์ ํ ์ ์๋ ๋ณ์
Arrow Function
function myFnc() {
...
}
const myFnc = () => {
...
}
// ์ธ์๊ฐ ํ ๊ฐ์ธ ๊ฒฝ์ฐ
const myFnc = value => {
console.log(value);
}
// ํ ์ค๋ก ์์ฑํ๋ ๋ฐฉ๋ฒ
const multiply = number => number * 2;
- this๋ก ์ธํด ๋ฐ์ํ๋ ๋ฌธ์ ํด๊ฒฐ
- ์ธ์๊ฐ ํ ๊ฐ์ธ ๊ฒฝ์ฐ์๋ ๊ดํธ๋ฅผ ์๋ตํ ์ ์๋ค.
Exports ๐ย Imports (Modules)

