Question: 1) /sample-project README.md package.json src assets index.html css application.css package.json server index.js app.js test html-spec.js index-spec.js Using the above folder structure how would you navigate

1) /sample-project  README.md  package.json  src   assets    index.html    css     application.css    package.json   server   index.js   app.js  test  html-spec.js  index-spec.js

Using the above folder structure how would you navigate from the assets directory to the server directory?

A) cd ../server

B) cd server

C) cd ../src/assets

D) cd src/assets

2)const a = { b: "c" };

What is one way you can overwrite the key of b in the object a above?

A) By using dot notation to set the key of b to a new value

B) By setting a to a new object with the key of b

C) By using Object's setOwnProperty method to change the value at the key of b to a new value

 

3) True or False: Destructuring an object must assign every value in the object to a variable.

A) True

B) False

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!