Create a JavaScript File

VJET features apply only to those files with the .js extension.

  1. Select the menu item File > New > JavaScript Source File to open the JavaScript Source File dialog.
  2. Enter a file name then click Finish.

The new JavaScript file is created in the src folder, under the default package (More about packages later). The file opens in the editing area; details of the file are displayed in the Outline view.

New JavaScript File

Related reference