JSFiddle - React, Tailwind, and code Playground

JavaScript

var foo = {
    args: {
    	smallSpace: 12
    },
    __noSuchMethod__ : function(id, args) {
    	console.warn(id, args)
        if(args === undefined) {
            return this.args[id] === undefined ? this[id] : this.args[id]
        }

        if(this[id] === undefined) {
            this.args[id] = args;
        } else {
            this[id] = args;
        }
    }
};

console.warn(foo.tt