Question: how to code this one in proper way fullAddress //64johnson ave. brooklyn NY 11206 Object Access Exercise . In index.js, you'll find a restaurant object

 how to code this one in proper way fullAddress //64johnson ave.

how to code this one in proper way

fullAddress //64johnson ave. brooklyn NY 11206

Object Access Exercise . In index.js, you'll find a restaurant object that contains a name, address, city, state, and zipcode. Your task to is to create a variable named fullAddress that points to a string using the information from restaurant. fullAddress should point to a string that includes the address, city, state, and zipcode from the restaurant object. To make it harder to "cheat" by copy and pasting, I've randomly generated the address portion. For example, if address was "64 Johnson Ave", the fullAddress variable would look like this: O dex.js 1 V/PLEASE DON'T TOUCH THIS LINE! 2 - const restaurant { 3 name: 'Ichiran Ramen', 4 address: ${Math.floor(Math.random() * 100) + 1} Johnson Ave, 5 city: 'Brooklyn', 6 state: 'NY', 7 zipcode: '11206', 8 } 9 10 //YOUR CODE GOES DOWN HERE. 1,1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!