타입 추론
점진적 타입 시스템
타입추론이 가능한 상황
let a = 10; // number로 추론
let b = "hello"; // string으로 추론let c = {
id : 1,
name '신봄',
profile : {
nickname : 'bom',
}
}
let { id, name, profile } = c주의해야 할 상황
Last updated