用于标识方法返回值的类型,表示该方法没有返回值。 function hello(): void { alert("Hello Runoob"); }. null, null. 表示对象值缺失。
確定! 回上一頁