Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's a good way to run Javascript Interactively?

For Ruby, we have irb. For Python, we have IDLE. For Javascript, is Firebug or Chrome on a blank page the best way to run or test Javascript interactively?

like image 799
nonopolarity Avatar asked Jul 01 '10 23:07

nonopolarity


People also ask

What is interactive JavaScript?

What is it? The JavaScript functions that allow you to make interactive web pages. Why should I learn it? Your HTML pages need JavaScript to become more interactive.

How JavaScript make pages interactive?

JavaScript is a programming language we can use to make a website interactive. When we search something on Google or click a link, our website changes — that's what JavaScript allows us to do. First, we'll use Sublime to create an index.

Can JavaScript run outside of browser?

You can run JavaScript console in terminal or any command-line interface using Node. js, an open-source, platform-agnostic runtime that executes JavaScript outside a web browser.

How do you run a JavaScript program?

To execute JavaScript in a browser you have two options — either put it inside a script element anywhere inside an HTML document, or put it inside an external JavaScript file (with a . js extension) and then reference that file inside the HTML document using an empty script element with a src attribute.


1 Answers

You can also visit JSBin or JSFiddle.

On the iPhone, there is JSanywhere (it seems written by a Japanese author).

There is not much information about it on Google in English, but it can be downloaded for free from the App Store.

like image 172
alex Avatar answered Nov 15 '22 13:11

alex