Skip to content

Commit 9ac10dd

Browse files
author
Orta Therox
authored
Merge pull request microsoft#2231 from NeonMika/patch-1
Update Classes.md
2 parents 3c2d756 + 61933c1 commit 9ac10dd

File tree

1 file changed

+1
-1
lines changed
  • packages/documentation/copy/en/handbook-v2

1 file changed

+1
-1
lines changed

packages/documentation/copy/en/handbook-v2/Classes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -887,7 +887,7 @@ class S {
887887

888888
### Why No Static Classes?
889889

890-
TypeScript (and JavaScript) don't have a construct called `static class` the same way C# and Java do.
890+
TypeScript (and JavaScript) don't have a construct called `static class` the same way as, for example, C# does.
891891

892892
Those constructs _only_ exist because those languages force all data and functions to be inside a class; because that restriction doesn't exist in TypeScript, there's no need for them.
893893
A class with only a single instance is typically just represented as a normal _object_ in JavaScript/TypeScript.

0 commit comments

Comments
 (0)