Skip to content

Commit 39345b2

Browse files
committed
Fixing formatting issues with javascript knowledge section
1 parent 741e859 commit 39345b2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,7 @@
435435
## Javascript
436436
<a name="javascript--hoisting"></a><a name="6.1"></a>
437437
- **[6.1](#javascript--hosting) Explain what is hoisting in Javascript**
438+
438439
```
439440
Hoisting is the concept in which Javascript, by default, moves all declarations to the top
440441
of the current scope. As such, a variable can be used before it has been declared. Note that
@@ -487,6 +488,7 @@
487488

488489
<a name="javascript--null-undefined"></a><a name="6.5"></a>
489490
- **[6.5](#javascript--null-undefined) What is the difference between `null` and `undefined`**
491+
490492
```
491493
In Javascript, null is an assignment value, and can be assigned to a variable representing that
492494
it has no value. Undefined, on the other hand, represents that a variable has been declared but
@@ -495,6 +497,7 @@
495497

496498
<a name="javascript--difference-inheritance"></a><a name="6.6"></a>
497499
- **[6.6](#javascript--difference-inheritance) How does `prototypal inheritance` differ from `classical inheritance`**
500+
498501
```
499502
In classical inheritance, classes are immutable, may or may not support multiple
500503
inheritance, and may contain interfaces, final classes, and abstract classes. In contrast,

0 commit comments

Comments
 (0)