Object Destructing

Run Settings
LanguageJavaScript
Language Version
Run Command
//to pull values from the object const getUser=() =>{ return { name:'John', sername:'rar', address:{city:'asdad',cntry:'dada'} ,age:21} } const user= getUser(); // console.log(user.name); //const {name,sername,address:{city:theCity,cntry:thecity},age}= user; // //console.log(theCity);
Editor Settings
Theme
Key bindings
Full width
Lines