///////////////****** OBJECTS IN JS (PART 3) ********////////////////////


/// de structuring data 
const course ={
    coursename:"udemy js ",
    price: "999",
    courseIntructor: "hitesh"
    
}

const {courseIntructor: Inst} = course  // getting value of courseInstructor from course and refreing it from Inst key
console.log(Inst); // hitesh


///////////////////////////**** JSON API *******////////////////
  
/// this is Json 
/*{ 
    "name": "om",
    "coursename": "js",
    "price": "free"
}*/

// this Json array
[
    {},
    {},
    {}
]