Create an object bottle that has a property that is an object: cap. cap can have properties like material: ‘metal’ or ‘plastic’, color: blue or white etc. Log one of the properties of that inner object.

The solution for “Create an object bottle that has a property that is an object: cap. cap can have properties like material: ‘metal’ or ‘plastic’, color: blue or white etc. Log one of the properties of that inner object.” can be found here. The following code will assist you in solving the problem.

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

0
inline scripts encapsulated in