Thanks to visit codestin.com Credit goes to github.com
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 8d3f8da commit 3ea61daCopy full SHA for 3ea61da
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