// Déclaration de tableau


const tab1 : number[] = [ 1, 2, 3, 4 ];
const tab2 : Array<number> = [ 2, 3, 4, 5 ];
const tab3 : ( number | string )[] = [ 1, 2, "bonjour" ];
const tab4 : [ any, ( a:number, b:number ) => number ] = [
    10,
    ( a : number, b : number ) => a + b ];
console.log( tab4[ 1 ]( tab4[ 0 ], tab4[ 0 ] ));