JSFiddle - React, Tailwind, and code Playground

by parksd

JavaScript

function a() {
	return {x:1,y:2};
}

let x,y;
let {x:x,y:y} = a();
console.log(x,y);