+ 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;
4 Respostas
+ 1
Sammy Raven
Quotation is not the problem, my question is at the end of the code which is declaring
+ 2
Bezu Tadesse
Can you please clarify the question, I'm not clearly understanding what you mean to ask or do ...
+ 1
Well that helped clear things up big time ...
0
Assign a value