Overview
This guides highlights the basic parts of javascript that can be used on the davinci platform to add dynamic features or powerful analytics. For programmers with experience programming python, the python to javascript guide may be more useful. Program
A computer program is a collection of instructions designed to tell the computer how to perform a particular task. A program is a linear structure, where the instructions are listed and executed in a specific order.
The following is a sample program that prints the message "hello world" to the console.
$console.log('hello world');
Try it!
Language Elements
- Variables - are names that contain data or other objects within a program.
- Expressions
- Functions - a piece of code that represents a re-usable computation or process
- Data Types
- Filtering and Transforming Data
- Control Flow - discusses the various ways to direct the flow of a program.
- Async
- Modules - externally loaded libraries of functions.
Video Demos
Introduction to Javascript
A basic introduction to creating and running scripts
on the davinci platform.