JavaScript Question Practice

 // Chapter 1 Q1


let a = "Deba"

let b = 5

console.log(a + b)


// Q2


console.log(typeof (a+b))


//Q3


const a1 =

{

name : "Deba",

  sec : 4,

  isprinciple :false

}


//Q4


a1['friend'] = "jyoti"

a1['name']="debadatta"


console.log(a1)


//Q5


const dict = {

  article : "an object, especially one of a set",

  animal : "Nice"

}


console.log(dict.animal)


Comments

Popular posts from this blog

AMAZON HOME PAGE CLONE PROJECT

Array in Javascript

Array in function Javascript