'use strict'
let url = 'https://api.cryptokitties.co/cattributes?total';
let array
fetch(url)
.then(response => {
return response.json()
})
.then(result => {
array = [...result]
console.log(array)
return array
})
console.log(array);