8000 Fix code style · HowProgrammingWorks/Map@39b1f0f · GitHub
[go: up one dir, main page]

Skip to content

Commit 39b1f0f

Browse files
committed
Fix code style
1 parent 96239e2 commit 39b1f0f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

JavaScript/5-index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
const fs = require('fs');
44

5-
const getDataset = file => {
5+
const getDataset = (file) => {
66
const lines = fs.readFileSync(file, 'utf8').split('\n');
77
lines.shift();
88
lines.pop();
9-
return lines.map(line => line.split(','));
9+
return lines.map((line) => line.split(','));
1010
};
1111

1212
const buildIndex = (ds, col) => {

0 commit comments

Comments
 (0)
0