TypeScript တွင် array များအတွက် any type

any type ကို အသုံးပြု၍ မည်သည့် data type ၏တန်ဖိုးများကိုမဆို ပါဝင်နိုင်သော array တစ်ခုကို ကြေညာနိုင်ပါသည်:

typescriptlet arr: any[] = ['abs', true, 3];
Задание 1

အောက်ပါ code ကို TypeScript ဖြင့် ပြန်ရေးပါ:

typescriptlet arr = [1, '2', '3', 4, 5];
console.log(arr);