VH
Size: a a a
VH
Н
AB
@turf/circle совместно с mapbox или её оберткой по типу react-map-gl? resizable или хотя бы draggable?Н
Н
request.get(price_url_ru, (err,res,data) = {price = data.price} Как мне вытащить price за пределы request.get??? Пытался объявить выше, объявлял как массив... не получается.VH
request.get(price_url_ru, (err,res,data) => {
let price;
let regular_price = JSON.parse(data, 'utf8').prices[0].regular_price.raw_value;
if (JSON.parse(data, 'utf8').prices[0].discount_price){
let discount_price = JSON.parse(data, 'utf8').prices[0].discount_price.raw_value;
price = '🇷🇺 ' + discount_price;
} else {
price = '🇷🇺 ' + regular_price;
}
})I
I
VK
VH
I
I
Н
VH
I
I
Н
Н
