3. 자바스크립트 개념 및 기초
인터프리터 언어란?
일급 함수, 일급 객체, 고차 함수
일급 함수
// Function assigned to a variable
const greet = function (name) {
return `Hello, ${name}!`;
};
// Function passed as an argument
function executeFunction(func, value) {
return func(value);
}
console.log(executeFunction(greet, 'John')); // Output: Hello, John!일급 개체
고차 함수
콜백함수
불편성
원시 타입
Object
Array
Function
Date
RegExp(정규식)
Map
Set
Promise
Symbol(추후 더 자세히 정리)
Call By Value, Call by Reference
변수(var, let, const)
var
let
const
Wrapper 클래스
글로벌 객체
Truthy, Falthy, Nullish 에 대하여
Truthy 의 경우
Falthy 의 경우
논리 연산자 && 와 ||, ??
&&
||
??
ETC
스프레드(spread) 연산자 (ECMA2018)
구조분해 할당(Object Destructuring)
e+숫자, e-숮자, EPSILON
Last updated