可选属性. 在可选属性名字定义的后面加一个 ? 符号 ... let a: number[] = [1, 2, 3, 4]; let ro: ReadonlyArray<number> = a;.
確定! 回上一頁