console.clear();
console.log(new Date());
const message: string = "Hello World!";
message.toLowerCase();
message();
const user = {
name: 'Daniel',
age: 26,
};
user.location;
const announcement = 'Hello World!';
announcement.toLocaleLowercase();
announcement.toLocalLowerCase();
announcement.toLocaleLowerCase();
function flipCoin() {
return Math.random < 0.5;
}
const value = Math.random() < 0.5 ? 'a' : 'b';
if (value !== 'a') {}
else if (value === 'b') {
}
import express from 'express';
const app = express();
app.get('/', function(req, res) {
res.sen
})
function greet(person: string, date: Date) {
console.log(`Hello ${person}, today is ${date.toDateString()}!`);
}
greet("Brendan", new Date());