1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19// Declaring different variables of different data types
let firstName = 'Asabeneh';
let lastName = 'Yetayeh';
let location = 'Helsinki';
let country = 'Finland';
let city = 'Helsinki';
let age = 100;
let isMarried = true;
const gravity = 9.81;
const boilingPoint = 100;
const PI = 3.14; // can can be accessed like this too: Math.PI
console.log(firstName, lastName, location, country, age, gravity, PI);
// Variables can also be declaring in one line separated by comma
let name = 'Asabeneh',
job = 'Teacher',
live = 'Finland';
console.log(name, job, live);