mirror of https://github.com/01-edu/public.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
510 B
14 lines
510 B
4 years ago
|
## verydisco-forever
|
||
|
|
||
|
### Instructions
|
||
|
|
||
|
Create a `verydisco-forever.mjs` script that does exactly the same as you verydisco script, but write the result in a `verydisco-forever.txt` file instead of printing it in the console.
|
||
|
|
||
|
### Notions
|
||
|
|
||
|
- [Node file system: `writeFile`](https://nodejs.org/api/fs.html#fs_fspromises_writefile_file_data_options)
|
||
|
- [Node path: `resolve`](https://nodejs.org/api/path.html#path_path_resolve_paths)
|
||
|
- [Node path: `join`](https://nodejs.org/api/path.html#path_path_join_paths)
|
||
|
|
||
|
|