# Javascript Studio

Now that we have seen the Connections and Accounts scripts in action, it's time to look a little closer at how they work.&#x20;

On the right-click the `Accounts` script and choose `Edit javascript:`

<div align="left"><figure><img src="/files/DNcHdjssg4FwSj1seDHK" alt=""><figcaption><p>Bring up the Jascript Studio for the Accounts script</p></figcaption></figure></div>

This will bring up the [Javascript Studio](/xlconnect-documentation/developing-with-xlconnect/scripts.md) for the Accounts script.&#x20;

<figure><img src="/files/X9qvy2Gj4WyKUBznFYxz" alt=""><figcaption><p>Javscript Studio for the Accounts script</p></figcaption></figure>

On the left pane you can see the javascript code, the right two panes are empty. Hit F5 to run the script, this will fill the right two panes with data.

The top right pane called `Engine` shows the variables the code has created in the javascript engine. The bottom pane show the result of the script, this is what will be returned to Excel.&#x20;

<figure><img src="/files/AFcy0GcaWPHcdEJ7tmH6" alt=""><figcaption></figcaption></figure>

Double click the Acounts node in the bottom pane to zoom in:&#x20;

<figure><img src="/files/KiZITB2BJQAb4Y2U5Ffd" alt=""><figcaption><p>Zooming in on the Accoutns table by double-clicking</p></figcaption></figure>

Variables you see in the Engine and Result pane can be zoomed in by double-clicking them, this can be helpful when dealing wit lots of data.&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.xlconnect.net/xlconnect-documentation/developing-with-xlconnect/javascript/javascript-studio.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
