We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c12d9b commit 99b7116Copy full SHA for 99b7116
README.md
@@ -511,13 +511,13 @@ function createFile(name, temp) {
511
512
**Good**:
513
```javascript
514
-function createTempFile(name) {
515
- fs.create('./temp/' + name);
516
-}
517
-
518
function createFile(name) {
519
fs.create(name);
520
}
+
+function createTempFile(name) {
+ createFile('./temp/' + name);
+}
521
```
522
**[⬆ back to top](#table-of-contents)**
523
0 commit comments