const API = `https://api.openweathermap.org/data/2.5/weather?q=Bishkek&appid=${API_key}`
const fetchResult = fetch(API).then((res) => res.json()).then((data) => { console.log(data.main.temp)});
const API = `https://api.openweathermap.org/data/2.5/weather?q=Bishkek&appid=${API_key}`
let temp;
const fetchResult = fetch(API).then((res) => res.json()).then((data) => {temp = data.main.temp});
const response = await fetch(url)
const data = await response.json()
.......
в отдельную переменную запределом Fetch