Variables are like “boxes” that stock a value.
1. var aString = “Hello !”;
Console is an object. We will see this later console.log let’s you print on the console a variable or a value.
Here our program should output : Hello !
Create a new folder and a new JS file in it and try to compile and run it with NectarJS :
nectar myfile.js --run