it-console/code/ts/后端辅助工具/target/main.js

25 lines
532 B
JavaScript
Raw Normal View History

2023-02-13 01:30:18 +00:00
const greetings = "Hello, World!";
2023-02-10 10:38:33 +00:00
// console.log( greetings );
2023-02-09 10:36:43 +00:00
var Season;
(function (Season) {
Season[Season["spring"] = 1] = "spring";
Season[Season["summer"] = 2] = "summer";
Season[Season["autumn"] = 3] = "autumn";
Season[Season["winter"] = 4] = "winter";
})(Season || (Season = {}));
;
2023-02-13 01:30:18 +00:00
const ar = [
2023-02-10 10:38:33 +00:00
"1", "2",
];
2023-02-13 01:30:18 +00:00
const ar2 = [
2023-02-10 10:38:33 +00:00
1, 2, 3, "4",
];
2023-02-13 01:30:18 +00:00
const ar3 = [1, 2, 3, 4, 5, "7",];
const today = Season.spring;
2023-02-10 10:38:33 +00:00
function ts() {
2023-02-13 01:30:18 +00:00
const message = "message";
2023-02-10 10:38:33 +00:00
return message;
}
ts();
2023-02-09 10:36:43 +00:00
console.log(today);