const message: string = "Hello World!"; console.log(message); 存檔為ts1.ts,然後在cmd輸入tsc ts1.ts(亦即要先compile,然後會產生ts1.js檔案), ...
確定! 回上一頁