Guide to NTSL2++

Comments
First, let's acknowledge how to comment our code. Comments are lines of text that are for humans to read and aren't executed. You can comment out a line or a block of lines.

Variable Types
NTSL2++ is a loosely typed language. This means that when defining a variable, you don't have to assign its type in advance. There are a few ways to define a variable.

Values and Their Types
When we have variables, we then can assign different values to them.

Arrays and Objects
Let's explore in depth arrays and objects. Arrays are simple lists containing ordered items. They indexed by whole numbers, starting from zero assigned to first element. Objects are like arrays, but they have keys instead of indexes to reference items.

Functions
Functions are little segments of code meant to be executed independently from other functions. To define a function you can do it in multiple of ways:

Sample scripts

 * Very basic calculator

Runtime reference
NTSL2++ is based on ancient language called Javascript. Reference to all its functionalities can be obtained from here