Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mlejva authored Oct 16, 2024
1 parent f502f52 commit d3606ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/js-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ E2B_API_KEY=e2b_***
import { Sandbox } from '@e2b/code-interpreter'

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

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

Expand Down

0 comments on commit d3606ef

Please sign in to comment.