Skip to content

Commit

Permalink
Docs: Update os-module.md (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
ricosmall authored Dec 29, 2023
1 parent ab0c6ba commit 4377321
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/os-module.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ list_items('../')

| Feature | JavaScript | Python |
|---------|------------|--------|
| Check if file or directory exists | fs.existsSync(path) | os.path.exists(path) |
| Create directory | fs.mkdirSync(path) | os.mkdir(path) |
| List directory | fs.readdirSync(path) | os.listdir(path) |
| Check if file or directory exists | `fs.existsSync(path)` | `os.path.exists(path)` |
| Create directory | `fs.mkdirSync(path)` | `os.mkdir(path)` |
| List directory | `fs.readdirSync(path)` | `os.listdir(path)` |

### Resources

Expand Down

0 comments on commit 4377321

Please sign in to comment.