Basic Javascript Guide
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
Type Script
Typescript
is a variant of Javascript created by Microsoft. It is a strongly typed language that compiles down to Javascript.
Video Demos
Introduction to Javascript
A basic introduction to creating and running scripts
on the davinci platform.