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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy