JS Console is a Mozilla/Firefox extension to ease the developer work.
Even if you're an expert in JavaScript coding, you sometimes need to quickly verify some code construction or try an algorithm.
And if you're a newbie, you'll probably find JS Console very handy to try some exemples and soon become a JavaScript Guru.

Oddly enough, no such tool actually exists in the Mozilla community. Of course we have the Mozilla JavaScript Console, accessible thru the Web development menu, but seriously, do you use it to evaluate a code snippet?

JS Console fills the gap: not only you can type in hundreds or thousands lines of code to evaluate, but you can also save this code to a file and later reload it to make some change.
At any time, you can evaluate the code you typed in an have an immediate result of the evaluation.
If any exception is thrown by your code, it is displayed in the Errors panel and you can save the error message to a file.
You can insert debugging instructions in your code and those instructions will be displayed in another panel: the Output panel, which you can save too.

All commands are gathered in contextual menus which mimize mouse gestures. So you have a simple but powerful tool to exercize you coding skills (there are keyboard shortcuts for many of these menu entries).


JS Console relies on a standalone Mozilla extension, Mozlib (installed with JS Console package), which provides usefull general purposes classes:

Mozlib class instances can be used anywhere and directly within the code you want to evaluate.


The jsconsole project can be contacted through the mailing list or the member list.
Copyright © 2000-2020. All rights reserved. Terms of Use & Privacy Policy.