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.
30-Days-Of-JavaScript/01_Day_Introduction/day1/variable.js

14 lines
544 B

//4. Create a variable.js file and declare variables and assign string, boolean, undefined and null data types
let Name = "kevin"
let human = true
let x
let Null = null
//9.Declare variables to store your first name, last name, marital status, country and age in a single line
let FirstName1 = "kevin", LastName1 = "H", MaritalStatus1 = "single", country1 = "USA", age1 = 24
//10.Declare two variables myAge and yourAge and assign them initial values and log to the browser console.
let myAge = 24
let yourAge = 21
console.log(myAge,yourAge)