Add a JavaScript file

In this topic will show you how to add a javascript file to an existed project.

  1. Right click the project name, select 'New->JavaScript'.
  2. In the pop-up dialog, fill the name in File Name(we name it JavaScriptSample here). Then click Finish.