25 lines
532 B
JavaScript
25 lines
532 B
JavaScript
const greetings = "Hello, World!";
|
|
// console.log( greetings );
|
|
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 = {}));
|
|
;
|
|
const ar = [
|
|
"1", "2",
|
|
];
|
|
const ar2 = [
|
|
1, 2, 3, "4",
|
|
];
|
|
const ar3 = [1, 2, 3, 4, 5, "7",];
|
|
const today = Season.spring;
|
|
function ts() {
|
|
const message = "message";
|
|
return message;
|
|
}
|
|
ts();
|
|
console.log(today);
|