1、? 和 any

let a :{
name:string,
age?:number,
[key:string]:any
}

  ?:表示age可有可无

  [key:string]:any : 表示key是string,value是任意值,并且可有可无