保存进度!

This commit is contained in:
2023-02-10 18:38:33 +08:00
parent a5fa62c5d0
commit e142a2a624
9 changed files with 1553 additions and 19 deletions

View File

@@ -1,16 +1,36 @@
const greetings: string = "Hello, World!";
const greetings = "Hello, World!";
console.log( greetings );
// console.log( greetings );
enum Season {
enum Season
{
spring = 1,
summer,
autumn,
winter,
};
let today: Season = Season.spring;
const ar: string[] = [
"1", "2",
];
console.log( today );
const ar2: (string | number)[] = [
1, 2, 3, "4",
];
const ar3: readonly (string | number)[] = [1, 2, 3, 4, 5, "7",];
const today = Season.spring;
function ts(): string
{
const message = "message";
return message;
}
ts();
console.log(today);