null 和undefined 是ts 中的基础类型,分别具有值null 和undefined,默认情况下它们是所有类型的子类型,即可以赋值给任意类型,如: let s: string ...
確定! 回上一頁