What is a JavaScript Program?

By: Dusty Arlia
Published on March 3, 2013
Last Updated on Saturday, July 11, 2015 at 7:43 PM
Total Updates: 3

The words "program" and "script" are interchangeable terms in JavaScript. They both refer to JavaScript code. When you write JavaScript, the resulting code is usually referred to as a script. This script is actually a computer program. JavaScript programs are typically a lot more simple than the desktop programs you are used to working with. JavaScript programs can contain as little as one line of code or thousands of lines of code.