const foo: (string|number)[] = [ 1, "message" ];
let scores : (string | number)[]; scores = ['Programming', 5, 'Software Design', 4]; Code language: JavaScript (javascript)