From 9981f98eb9efb871f7fa85f156ca34a77f150f14 Mon Sep 17 00:00:00 2001 From: Vasek Mlejnsky Date: Wed, 16 Oct 2024 04:09:58 -0700 Subject: [PATCH] Update README.md --- packages/js-sdk/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/js-sdk/README.md b/packages/js-sdk/README.md index 67c0eeb94..357c50a28 100644 --- a/packages/js-sdk/README.md +++ b/packages/js-sdk/README.md @@ -1,5 +1,5 @@

- e2b logo + e2b logo

@@ -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 ```