Question: Bit of a strange question here i know.

but i wanted to know if some kind of standalone engine for javascript exists..

basically i want to test running of my javascript without having to load a web page...

Maybe it doesn't exist? Like some kind of ide where i can run commands directly without launching IE etc...

I have a great editor but it doesn't support that.. i still need to launch ie / firefxo

What i was thinking of some kind of standalone javascript engine existed that i could write my code here and make debugging a bit easier... and then copy to my webpage.

I know firebug exists but you can't specifically do what i am asking cna you?

Any ideas?

Answer: 
You can also try out Google Chrome's JavaScript engine, V8:  

<http://code.google.com/p/v8/>
Using Rhino or SpiderMonkey you can have a standalone JS engine, or include it in other applications you write; but you won't be able to test anything to do with the Document Object Model (DOM), such as manipulating elements and attributes or responding to events.

Everything to do with the DOM is supplied by the browser as a host environment in which the JavaScript engine runs. No browser means no DOM.

If the code you are planning to work on has absolutely no dependency on anything provided by the browser environment then you could start by looking at the [Rhino Shell](https://developer.mozilla.org/en/Rhino_Shell).

EDIT: Microsoft's JScript is also a standalone COM component which you can run under [Windows Script Host](http://msdn.microsoft.com/en-us/library/9bbdkx3k(VS.85).aspx). The object model available in that environment offers a basic level of access to the Windows shell.