JSFiddle - React, Tailwind, and code Playground
JavaScript
var arr = [function() {
console.dir(this);
}];
//Store reference to function and then call... logs the Window
var func = arr[0];
func();
//Call function directly... logs the Array
arr[0]();