answersLogoWhite

0

If it's in a function, you can just write return "output"; There's also prompts and alerts alert("output"); prompt("output");

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

What JavaScript method is most commonly used to generate output?

alert and prompt


What is a Javascript Void used for?

A Javascript Void can be used by a single computer programmer to evaluate a single command. It may also be used to purposely generate an undefined value.


What method in India is used to measure national income in service sector?

national and output method


What unit is used for timing Javascript events?

Milliseconds are used for timing JavaScript events.


Can javascript be used in Jtextpane in swing?

No. JavaScript can be used only in HTML and other Web Components


Which method of object output streme class can be used to write the cotents of an object to a file?

write object


How is javascript used?

JavaScript is used to make HTML DHTML or Dynamic HTML. Provides a lot more interactivity between the web page and the browser provided JavaScript is not turned off.


What are the main functions of Javascript?

Javascript can be used on a variety of platforms which require simple computer commands but not a full programming language. Javascript can be used as or in addition to a full fledged programming language.


Do you need java compiler to execute HTML programs written in javascript?

No, Java and JavaScript are nothing to do with each other, JavaScript is a form of EMCAScript, not Java. Every modern browser comes with a JavaScript engine that is used to understand JavaScript. so there is no need for it, no.


What is toString and when you use it?

The toString method is used to create a string representation of the given object. This is often used to give diagnostic output to the programmer.


How do you display data in other HTML page retrieved from post method?

You can used various methods for retrieving data in HTML. JavaScript, Servlets etc are some ways to get data.


What programming language is used for webOS applications?

HTML5, JavaScript, CSS