JSFiddle - React, Tailwind, and code Playground

by Gerald Gillespie

JavaScript

let Top = { inside : 'inside', outside : 'outside'};

const myDestructureFn = function( { Top : {inside : _inside }}){
return _inside;
   //  return _inside;
}

const what = Top
console.log(myDestructureFn( {Top} ));