Skip to content

Instantly share code, notes, and snippets.

View bautistaaa's full-sized avatar
🎯
Focusing

bautistaaa

🎯
Focusing
View GitHub Profile
@bautistaaa
bautistaaa / typescript-helloworld.ts
Created May 30, 2023 21:12 — forked from fariszacina/typescript-helloworld.ts
TypeScript - Hello World Typescript
class Greeter {
constructor(public greeting: string) { }
greet() {
return "<h1>" + this.greeting + "</h1>";
}
};
var greeter = new Greeter("Hello, Ministry of Programming!");
var str = greeter.greet();