JSFiddle - React, Tailwind, and code Playground

by Eric Howe

JavaScript

var length = 20;

function fn() {
    console.log(this, this.length);
}

var o = {
    length: 10,
    e: function(fn) {
        fn();
        fn.call(this);
        arguments[0]();
    }
}

o.e(fn);