+ 1

ES6

This suppose to work: const address{ street:'', city:'', country:'' }; const street = address.street; const city = address.city; const country = address.country; Or..... const {street,city,country} = address; const{street:'text'}= address;

30th Jul 2022, 5:29 PM
Bezu Tadesse
Bezu Tadesse - avatar
4 Respostas
+ 1
Sammy Raven Quotation is not the problem, my question is at the end of the code which is declaring
31st Jul 2022, 4:39 PM
Bezu Tadesse
Bezu Tadesse - avatar
+ 2
Bezu Tadesse Can you please clarify the question, I'm not clearly understanding what you mean to ask or do ...
1st Aug 2022, 5:51 AM
Ipang
+ 1
Well that helped clear things up big time ...
1st Aug 2022, 8:02 AM
Ipang
0
Assign a value
1st Aug 2022, 7:02 AM
Bezu Tadesse
Bezu Tadesse - avatar