Skip to main content

Close
Get the best research tool on the web today,and free!
Connect with people with common interests!

All Annotations of JavaScript Shell[Preview]

saved by27 people, first by3spots on 2006-03-03, last byTimothy Wood on 2008-07-27

  • A command-line interface for JavaScript and DOM
  • For longer bits of JavaScript, try the JavaScript development enviornment too.
  • A command-line interface for JavaScript and DOM.
  • on 2006-07-13 Jdrsantos
    A command-line interface for JavaScript and DOM.
  • on 2006-07-25 Jcbuffington
    A command-line interface for JavaScript and DOM.
  • on 2006-07-31 Ziller
    A command-line interface for JavaScript and DOM.
  • on 2006-09-29 Kywocs
    A command-line interface for JavaScript and DOM.
  • on 2006-10-09 Travishartwell
    Handy online interactive JS interpreter.
  • on 2007-01-06 June29
    ブックマークレットで起動するFirefox用Javascriptコマンドライン
  • on 2007-05-31 Ycc2106

    Features:



    • You can enter statements and expressions at the same prompt.

    • The result of each non-void statement or expression is shown.

    • User-defined variables.

      • b = document.body



    • User-defined functions.

      • function f() { return 5; }



    • JavaScript error messages are shown in red.

    • Previous statements and expressions are available through Up and Down arrow keys.

    • Tab completion.

    • Multiline input (Shift+Enter to insert a line break).

    • If the shell is opened using a bookmarklet, JavaScript typed into the shell runs in the context of the original window.

    • Works well in Firefox, mostly works in Opera 8 and in IE 6 for Windows.


    Suggested uses:



    • Test short bits of JavaScript, bookmarklets, or user scripts. (For longer bits of JavaScript, try the JavaScript development enviornment too.)

    • Explore DOM objects such as document.body using props (Alt+P) to figure out what is possible.

    • Explore the DOM of a specific page using the bookmarklet version of the shell.

    • Modify the DOM of a specific page using the bookmarklet version of the shell.

    • Use the shell like you would use the home screen of a calculator such as a TI-83. Alt+M gives you easy access to math functions such as sin and pow.