LANGUAGE: JAVASCRIPT & HTML
ANSWER IN CODE ONLY!
You are in charge of designing a class for the following data set named MOCK_DATA.csv located under Downloads.
The BitcoinPurchaseFrequency class should have the appropriate properties and data structure to store the values that correspond to the csv file. In addition, a method should exist within the class to convert the value property into a string that contains $ and commas.
Ex: 1471095.82 => $1,471,095.82
class BitcoinPurchaseFrequency { }