Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit ef124a4

Browse files
committed
Merge pull request #26 from DecimusN7/patch-1
Update greeter.ts formtting
2 parents 2a51062 + d6a660b commit ef124a4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

greeter/greeter.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ class Greeter {
44
return "<h1>" + this.greeting + "</h1>";
55
}
66
};
7+
78
var greeter = new Greeter("Hello, world!");
8-
var str = greeter.greet();
9-
document.body.innerHTML = str;
9+
10+
document.body.innerHTML = greeter.greet();

0 commit comments

Comments
 (0)