nieuw jaar
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
import * as fs from 'fs'
|
||||
|
||||
export const readFile = (file: string): any => {
|
||||
return fs.readFileSync(file, {encoding: "utf-8"}).split("\r\n");
|
||||
}
|
||||
return fs.readFileSync(file, {encoding: "utf-8"});
|
||||
}
|
||||
|
||||
export const print = (array: any[]) => {
|
||||
array.forEach(x => console.log(x));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user