8000 Fix empty lines · HowProgrammingWorks/Factory@402d1a9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 402d1a9

Browse files
committed
Fix empty lines
1 parent 473ec1d commit 402d1a9

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

JavaScript/3-class.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
'use strict';
22

33
const logable = fields => class Logable {
4-
54
constructor(data) {
65
this.values = data;
76
for (const key in fields) {
@@ -31,7 +30,6 @@ const logable = fields => class Logable {
3130
}
3231
return result;
3332
}
34-
3533
};
3634

3735
// Usage

JavaScript/5-method.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ class Person {
44
constructor(name) {
55
this.name = name;
66
}
7+
78
static factory(name) {
89
return new Person(name);
910
}

0 commit comments

Comments
 (0)
0