that takes in the following parameter:
. It should return an object with this property. Add a method named
prototype object that adds a new cryptocurrency object with a
property to an array of currencies. Add a method named
prototype object that calculates the total value of all currencies in the watchlist based on their quantity. For example,
would return the total value of all currencies in the watchlist based on their quantity and current price.