// any
const anyArr: any = ['😄', '😍', '🥰', '😎', '😞', '🥳'];
anyArr.a.b.c;

// unknown
const unknownArr: unknown = ['😄', '😍', '🥰', '😎', '😞', '🥳'];
unknownArr.a.b.c; // compile error

const unknownString: unknown = '알 수 없어';
let text: string = unknownString; // compile error

// type assertion
text = unknownString as string; // success

// type guard 
if (typeof unknownString === 'string') {
    text = unknownString; // success
}