File tree 5 files changed +12
-3
lines changed
06-applied-functions-and-closures
5 files changed +12
-3
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "default" : true ,
3
+ "MD026" : false ,
4
+ "MD013" : false
5
+ }
Original file line number Diff line number Diff line change 96
96
> is vital to growing your application while preserving a good design.
97
97
>
98
98
> you've done it by:
99
+ >
99
100
> * Reusing code/methods. DRY (Don't Repeat Yourself)
100
101
> * Renaming objects or functions
101
102
>
Original file line number Diff line number Diff line change 1
1
# no code
2
2
3
- There is no relevant code for this section.
3
+ There is no relevant code for this section.
Original file line number Diff line number Diff line change 43
43
#### ` JsTestDriver ` from Google
44
44
45
45
> Advantages:
46
+ >
46
47
> * Automated browser tests
47
48
> * Multiple machines, mobile devices
48
49
> * Multiple browsers simultaneously
49
50
>
50
51
> Disadvantages:
51
- > * Does NOT support Asynchronous code
52
+ >
53
+ > * Does NOT support Asynchronous code
Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ Example:
47
47
```
48
48
49
49
> ** Benefits:**
50
+ >
50
51
> * Does not pollute the global scope
51
52
> * Simulates block scope
52
53
@@ -129,5 +130,5 @@ const fibonacciMemoized = (function () {
129
130
130
131
console .log (fibonacciMemoized (78 )) // 8944394323791464 (very fast!)
131
132
// NOTE: after fibonacciMemoized(79) results will be invalid due to number overflow.
132
- // fibonacciMemoized(79) will ouput : 14472334024676220 and correct is: 14472334024676221
133
+ // fibonacciMemoized(79) will output : 14472334024676220 and correct is: 14472334024676221
133
134
```
You can’t perform that action at this time.
0 commit comments