Please teach me a JavaScript problem

Author: VIC, Created: 2021-03-31 20:37:48, Updated:

Ladies and gentlemen, please let me use Exchange.IO ((api, GET, /fapi/v1/ticker/24hr) is a free and open-source file format developed and maintained by Microsoft. After obtaining 24-hour continuous contract price information, how do you get the top few contracts with the largest price change percentage from the results? The results look something like this. [{lastPrice:58131.80,lowPrice:56812.00,closeTime:1617193588048,lastPriceId:657590646,highPriceChangePercent:-1.725,quoteVolume:16870412679.78,volume:287984.541,openTime:1617107160000,weightedAvgPrice:58580.97,lastQty:0.004,openPrice:15592.17,highPrice:59920.00,firstQtyQ::654550517,IdcountQ:40076,PricePricePricePricePricePricePricePricePricePricePricePricePricePricePricePricePricePricePricePricePricePricePricePricePricePricePricePricePricePricePricePrice


More

allez-zfunction compare ((property) { return function ((obj1, obj2) { var value1 = obj1 [property]; var value2 = obj2 [property]; return value2 - value1; // decomposition of order I'm not sure. I'm not sure. function main{ This is the first time that the exchange has been able to make a change in its price. I'm not sure. The result is sorted from big to small by price changes.

VICexchange.IO (("api", "GET","/fapi/v1/ticker/24hr") returns as if it is not an object, or some problem, error