15,957 views
42 votes
42 votes
Using the code to the right, which best describes the piece of code labeled my_graphic?

User Andrey Vykhodtsev
by
2.9k points

1 Answer

18 votes
18 votes

Answer:

a property

Step-by-step explanation:

A JavaScript property is a characteristic of an object, often describing attributes associated with a data structure. There are two kinds of properties: Instance properties hold data that are specific to a given object instance. Static properties hold data that are shared among all object instances

User Kkudi
by
3.1k points