let myTuple:[ string, number ] = [ "hello", 20 ];
let yourTuple: readonly [number, number];
yourTuple = [12, 44];
let bgColor, headerColor: [number, number, number, number?];
bgColor = [0, 255, 255, 0.5];
headerColor = [0, 255, 255];
Code language: JavaScript (javascript)