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 e3b778c commit 9981f98
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/js-sdk/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<p align="center">
<img width="100" src="/readme-assets/logo-circle.png" alt="e2b logo">
<img width="100" src="https://github.com/e2b-dev/E2B/blob/main/readme-assets/logo-circle.png" alt="e2b logo">
</p>

<h4 align="center">
Expand Down 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 9981f98

Please sign in to comment.