parent
964ed7d729
commit
93ef3468f1
@ -0,0 +1,4 @@
|
||||
console.log(typeof('satya') );
|
||||
console.log(typeof(20) );
|
||||
console.log(typeof(null) );
|
||||
console.log(typeof(undefined) );
|
@ -1 +1,26 @@
|
||||
console.log("Hello World!");
|
||||
// 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);
|
@ -0,0 +1,4 @@
|
||||
let name = 'satya',
|
||||
maritalStatus = false,
|
||||
abc = undefined,
|
||||
cbd = null;
|
Loading…
Reference in new issue