You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
722 B

let str = "Lavanya";
let bool = true;
let val;
let valNull = null;
// Declare variables to store your first name, last name, marital status, country and age in multiple lines
let fname = "Lavanya";
let lname = "Sathya";
let maritalStatus = false;
let country = "India";
let age = 25;
// Declare variables to store your first name, last name, marital status, country and age in a single line
let Fname = "lavanya",
Lname = "Sathya",
marital = false,
Country = "India",
Age = 25;
// Declare two variables myAge and yourAge and assign them initial values and log to the browser console.
const myAge = 25;
const yourAge = 30;
console.log(`I am ${myAge} years old.`);
console.log(`You are ${yourAge} years old.`);