You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Planets/index.js
+16-4
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
constfs=require("fs");
2
2
constparse=require("csv-parse");
3
3
4
-
constresults=[];
4
+
consthabitablePlanets=[];
5
5
6
6
// Note - the file path that has been provided to createReadStream("Planets/kepler_data.csv") is realtive to the package.json file to run the program as `npm run kepler`.
7
7
// For running the program as `node index.js` in Planets folder, change the path accordingly to createReadStream('kepler_data.csv')
0 commit comments