JSFiddle - React, Tailwind, and code Playground

by Evgeniy Kvasyuk

JavaScript

'use strict';
const func = () => ({
		meth1:() => {
    	return this;
    },
    fuu: 1
});


const a = func();

console.log(a.meth1());
a.boo = 2;
a.meth1().zoo = 3;
window.cuu = 5;
console.log(window.cuu, window.zoo);