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.
26 lines
536 B
26 lines
536 B
// 1.question
|
|
//Comments can make code readable
|
|
// 2.question
|
|
//Welcome to 30DaysOfJavaScript
|
|
// 3.question
|
|
/*
|
|
Comments can make code readable,
|
|
easy to reuse and informative
|
|
*/
|
|
// 6.question
|
|
let a, b, c, d;
|
|
// 7.question
|
|
let name = 'satya',
|
|
age = 20,
|
|
married = false,
|
|
id = 1;
|
|
// 8.question 9.question
|
|
let firstName = 'satya',
|
|
lastName = 'surendra',
|
|
maritalStatus = false,
|
|
country = 'Indian',
|
|
myage = 20;
|
|
// 10.question
|
|
let myAge = 20,
|
|
yourAge = 21;
|
|
console.log(myAge,yourAge); |