Skip to content

Commit

Permalink
Update README.md (#537)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubno authored Jan 13, 2025
2 parents bb18407 + 27b238a commit 4552eb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ JavaScript / TypeScript
import { Sandbox } from '@e2b/code-interpreter'

const sandbox = await Sandbox.create()
await sbx.runCode('x = 1')
await sandbox.runCode('x = 1')

const execution = await sbx.runCode('x+=1; x')
const execution = await sandbox.runCode('x+=1; x')
console.log(execution.text) // outputs 2
```

Expand Down

0 comments on commit 4552eb3

Please sign in to comment.