더북(TheBook)
const arr2 = []; 
// const arr2: any[]
arr2[0] = '1';
arr2; 
// const arr2: string[]
arr2[1] = 3;
arr2; 
//  const arr2: (string | number)[]

const arr3 = []; 
// Variable 'arr3' implicitly has type 'any[]' in some locations where its type cannot be determined.
const arr4 = arr3.concat('123'); 
// Variable 'arr3' implicitly has an 'any[]' type.
신간 소식 구독하기
뉴스레터에 가입하시고 이메일로 신간 소식을 받아 보세요.