Skip to content

Commit 2742e1d

Browse files
Format
1 parent d8e48bc commit 2742e1d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

concepts/type-checking/introduction.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Knowning what type an object has is often very important for code to run smoothl
44

55
Javascript has several ways to check the type of an object.
66

7-
```exercism/note
7+
````exercism/note
88
Javascript's type checking mechanisms can be somewhat unreliable.
99
1010
For better type safety and stronger types, you should probably use TypeScript, a language that builds on JavaScript, but with the type syntax of a static-typed language.```
@@ -37,7 +37,7 @@ typeof [1, 2, 3, 4];
3737
3838
typeof { city: 'Stockholm', country: 'Sweden' };
3939
// => "object"
40-
```
40+
````
4141

4242
The one exception to this is that `typeof null` returns `"object"` for [historical reasons][typeof null is object].
4343

0 commit comments

Comments
 (0)