Contact: aviboots(AT)netvision.net.il
39,851 questions
51,772 answers
573 users
function PrintAll(a: number, b: string, c: number, d: number) { console.log(a, b, c, d); } let tpl: [number, string, number, number]; tpl = [1, 'a', 3, 4]; PrintAll(...tpl); /* run: 1 a 3 4 */