DEV Community

Discussion on: JavaScript Destructuring Explained

 
seanmclem profile image
Seanmclem • Edited

Then data does not contain order. You need to try just storing the result json as a regular value, and console log it. To see what's in the result