import axios from "axios"
let responseG
axios.get('https://api.themoviedb.org/3/movie/popular?api_key=335b7e902b7b73259a92dc0ef724bb92&language=ru-RU&page=1').then((data) => responseG = JSON.parse(JSON.stringify(data)))
let responseG
const url = 'https://api.themoviedb.org/3/movie/popular?api_key=335b7e902b7b73259a92dc0ef724bb92&language=ru-RU&page=1'
const moiveRequest = fetch(url)
.then((r) => r.json())
.then(data => responseG = data)
moiveRequest.then((r)=> console.log(r))