JavaScript

From MgmtWiki
Revision as of 11:50, 11 August 2024 by Tom (talk | contribs) (Running a JavaScript)

Jump to: navigation, search

Full Title

JavaScriptis a lightweight program language that is typically interpreted by a virtual machine although it can be just-in-time compiled.

Context

JavaScript was first implements by Netscape to add

Solutions

Running a JavaScript

  1. All modern browser come with JavaScript enabled.
  2. The common way to run JavaScript on a computer is with Node installed.
    1. Save your javascript with .js extension.
    2. Open the command prompt
    3. Locate your path where the .js file is saved.
    4. To compile the .js file we have to write
      1. Node <Filename>.js
    5. Press the Enter key.

References